projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more work on parser
[cparser]
/
token_t.h
diff --git
a/token_t.h
b/token_t.h
index
be48841
..
c1975a0
100644
(file)
--- a/
token_t.h
+++ b/
token_t.h
@@
-16,6
+16,14
@@
typedef enum {
T_ERROR = -2
} token_type_t;
T_ERROR = -2
} token_type_t;
+typedef enum {
+#define T(x,str,val) TP_##x val,
+#define TS(x,str,val) TP_##x val,
+#include "tokens_preprocessor.inc"
+#undef TS
+#undef T
+} preprocessor_token_type_t;
+
typedef struct {
int type;
union {
typedef struct {
int type;
union {