]> git.gag.com Git - fw/sdcc/blob - src/reswords.gperf
* src/SDCCast.c (addCast): fixed bug #908454 by promoting bits to char
[fw/sdcc] / src / reswords.gperf
1 %{
2 /* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf  */ 
3 %}
4 struct reserved_words { const char *name; int token; bool is_special; };
5 %%
6 auto,           AUTO,           0
7 break,          BREAK,          0
8 case,           CASE,           0
9 char,           CHAR,           0
10 const,          CONST,          0
11 continue,       CONTINUE,       0
12 default,        DEFAULT,        0
13 do,             DO,             0
14 double,         FLOAT,          0
15 else,           ELSE,           0
16 enum,           ENUM,           0
17 extern,         EXTERN,         0
18 float,          FLOAT,          0
19 for,            FOR,            0
20 goto,           GOTO,           0
21 if,             IF,             0
22 int,            INT,            0
23 interrupt,      INTERRUPT,      0
24 long,           LONG,           0
25 register,       REGISTER,       0
26 return,         RETURN,         0
27 short,          SHORT,          0
28 signed,         SIGNED,         0
29 sizeof,         SIZEOF,         0
30 static,         STATIC,         0
31 struct,         STRUCT,         0
32 switch,         SWITCH,         0
33 typedef,        TYPEDEF,        0
34 union,          UNION,          0
35 unsigned,       UNSIGNED,       0
36 void,           VOID,           0
37 volatile,       VOLATILE,       0
38 while,          WHILE,          0
39 _code,          _CODE,          1
40 _eeprom,        _EEPROM,        1
41 _flash,         _CODE,          1
42 _generic,       _GENERIC,       1
43 _near,          _NEAR,          1
44 _sram,          _XDATA,         1
45 _xdata,         _XDATA,         1
46 _pdata,         _PDATA,         1
47 _idata,         _IDATA,         1
48 at,             AT,             1
49 bit,            BIT,            1
50 critical,       CRITICAL,       1
51 data,           DATA,           1
52 far,            XDATA,          1
53 eeprom,         EEPROM,         1
54 flash,          CODE,           1
55 idata,          IDATA,          1
56 nonbanked,      NONBANKED,      1
57 banked,         BANKED,         1
58 near,           DATA,           1
59 pdata,          PDATA,          1
60 reentrant,      REENTRANT,      1
61 sfr,            SFR,            1
62 sbit,           SBIT,           1
63 sram,           XDATA,          1
64 using,          USING,          1
65 code,           CODE,           1
66 xdata,          XDATA,          1
67 _data,          _NEAR,          1