projects
/
cparser
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix multiline comment parsing, extended comment test
[cparser]
/
preprocessor_tokens.inc
1
#ifndef TS
2
#define TS(x,str,val)
3
#endif
4
5
TS(IDENTIFIER, "identifier", = 256)
6
TS(INTEGER, "integer number",)
7
TS(STRING_LITERAL, "string literal",)
8
9
#define S(x) T(x,#x,)
10
S(include)
11
S(define)
12
S(undef)
13
S(line)
14
S(error)
15
S(pragma)
16
S(if)
17
S(else)
18
S(elif)
19
S(endif)
20
S(ifdef)
21
S(ifndef)
22
#undef S
23
24
T(DOTDOTDOT, "...",)
25
26
#define T_LAST_TOKEN (T_DOTDOTDOT+1)
27
28
T(LPAREN, "(", = '(')
29
T(RPAREN, ")", = ')')