aboutsummaryrefslogtreecommitdiff
path: root/tcctok.h
diff options
context:
space:
mode:
authorgrischka <grischka>2015-04-23 23:27:36 +0200
committergrischka <grischka>2015-04-23 23:27:36 +0200
commit72e8ff11e9802e219e4880fe6ad0796beaf7fce2 (patch)
tree9a5326659133ad32a1e7491f0a1bc6f86ea39e42 /tcctok.h
parent7c27186a83cefd7845d4840ef25bd08c8b65cd3b (diff)
downloadtinycc-72e8ff11e9802e219e4880fe6ad0796beaf7fce2.tar.gz
tinycc-72e8ff11e9802e219e4880fe6ad0796beaf7fce2.tar.bz2
tccpp: alternative #pragma push/pop_macro
using next_nomacro() so that for example #define push_macro foobar does not affect how the pragma works (same behavior as gcc, albeit not MS's cl).
Diffstat (limited to 'tcctok.h')
-rw-r--r--tcctok.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcctok.h b/tcctok.h
index 4db9d1c..3de3ae2 100644
--- a/tcctok.h
+++ b/tcctok.h
@@ -155,6 +155,8 @@
#endif
DEF(TOK_comment, "comment")
DEF(TOK_lib, "lib")
+ DEF(TOK_push_macro, "push_macro")
+ DEF(TOK_pop_macro, "pop_macro")
DEF(TOK_once, "once")
/* builtin functions or variables */