2 * token.h Special tokens.
9 #define T_LCBRACE 2 /* { */
10 #define T_RCBRACE 3 /* } */
11 #define T_LBRACE 4 /* ( */
12 #define T_RBRACE 5 /* ) */
13 #define T_COMMA 6 /* , */
14 #define T_SEMICOLON 7 /* ; */
17 #define T_OP_ADD 8 /* += */
18 #define T_OP_SUB 9 /* -= */
19 #define T_OP_SET 10 /* := */
20 #define T_OP_EQ 11 /* = */
21 #define T_OP_NE 12 /* != */
22 #define T_OP_GE 13 /* >= */
23 #define T_OP_GT 14 /* > */
24 #define T_OP_LE 15 /* <= */
25 #define T_OP_LT 16 /* < */
26 #define T_OP_REG_EQ 17 /* =~ */
27 #define T_OP_REG_NE 18 /* !~ */
28 #define T_OP_CMP_EQ 19 /* == */
30 #define T_HASH 21 /* # */
32 int getword (char **ptr, char *buf, int buflen);
33 int gettoken(char **ptr, char *buf, int buflen);
34 int getcfword (char **ptr, char *buf, int buflen);
35 int getcftoken(char **ptr, char *buf, int buflen);