xref: /haiku/src/bin/pc/lex.h (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1 #define PLUS       '+'
2 #define MINUS      '-'
3 #define OR         '|'
4 #define SHIFT_L    '<'
5 #define SHIFT_R    '>'
6 
7 #define TIMES      '*'
8 #define DIVISION   '/'
9 #define MODULO     '%'
10 #define AND        '&'
11 #define XOR        '^'
12 
13 #define NEGATIVE   '-'
14 #define BANG       '!'
15 #define TWIDDLE    '~'
16 
17 #define NOTHING    '\0'
18 
19 #define LPAREN     '('
20 #define RPAREN     ')'
21 
22 #define EQUAL      '='
23 
24 #define LESS_THAN    '<'
25 #define GREATER_THAN '>'
26 
27 #define SEMI_COLON   ';'
28 #define COMMA        ','
29 
30 #define SINGLE_QUOTE '\''
31 
32 #define USE_LAST_RESULT '.'
33