From 0c8447db7970813292a8be74ee50e49091be5d15 Mon Sep 17 00:00:00 2001 From: seyko Date: Tue, 21 Apr 2015 06:34:35 +0300 Subject: * 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. --- tcc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index a0b4894..52baf58 100644 --- a/tcc.h +++ b/tcc.h @@ -326,6 +326,7 @@ typedef struct TokenSym { struct TokenSym *hash_next; struct Sym *sym_define; /* direct pointer to define */ + struct Sym *sym_define_stack; /* direct pointer to a push_macro stack */ struct Sym *sym_label; /* direct pointer to label */ struct Sym *sym_struct; /* direct pointer to structure */ struct Sym *sym_identifier; /* direct pointer to identifier */ -- cgit v1.3.1