aboutsummaryrefslogtreecommitdiff
path: root/tcctok.h
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-04-21 06:34:35 +0300
committerseyko <seyko2@gmail.com>2015-04-21 06:34:35 +0300
commit0c8447db7970813292a8be74ee50e49091be5d15 (patch)
treef1db257725c3ac9ddec1632473835a0e44d2d240 /tcctok.h
parent5e8fb713c49cfad17d5fb78fb353d88b1ab86eb8 (diff)
downloadtinycc-0c8447db7970813292a8be74ee50e49091be5d15.tar.gz
tinycc-0c8447db7970813292a8be74ee50e49091be5d15.tar.bz2
* and #pragma pop_macro("macro_name")
* give warning if pragma is unknown for tcc * don't free asm_label in sym_free(), it's a job of the asm_free_labels(). The above pragmas are used in the mingw headers. Thise pragmas are implemented in gcc-4.5+ and current clang.
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 5e1cf07..ace81dc 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")
/* builtin functions or variables */
#ifndef TCC_ARM_EABI