-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathc.prf
47 lines (47 loc) · 982 Bytes
/
c.prf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%{
/* $Source: /home/CVSROOT/c2ada/c.prf,v $ */
/* $Revision: 1.1.1.1 $ $Date: 1999/02/02 12:01:51 $ */
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "c2ada.h"
#include "y.tab.h"
%}
struct resword {char *name; short token;};
%%
auto, AUTO
break, BREAK
case, CASE
char, CHAR
const, CONST
continue, CONTINUE
default, DEFAULT
do, DO
double, DOUBLE
else, ELSE
enum, ENUM
extern, EXTERN
float, FLOAT
for, FOR
goto, GOTO
if, IF
inline, INLINE
int, INT
long, LONG
register, REGISTER
return, RETURN
short, SHORT
signed, SIGNED
sizeof, SIZEOF
static, STATIC
struct, STRUCT
switch, SWITCH
typedef, TYPEDEF
union, UNION
unsigned, UNSIGNED
void, VOID
volatile, VOLATILE
while, WHILE
%%