From 72e8ff11e9802e219e4880fe6ad0796beaf7fce2 Mon Sep 17 00:00:00 2001 From: grischka Date: Thu, 23 Apr 2015 23:27:36 +0200 Subject: 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). --- tcctok.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcctok.h') 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 */ -- cgit v1.3.1