aboutsummaryrefslogtreecommitdiff
path: root/tcctok.h
diff options
context:
space:
mode:
authorgrischka <grischka>2017-07-14 19:26:01 +0200
committergrischka <grischka>2017-07-14 19:26:01 +0200
commit69a137ff889f552b3ce58b861f3f0601c1818d6b (patch)
tree8e2f2e4a2274e48a9e7bbafd37c4f06d8389b723 /tcctok.h
parent04418c7addb757e80b09c94eb3553b131bcf4de8 (diff)
downloadtinycc-69a137ff889f552b3ce58b861f3f0601c1818d6b.tar.gz
tinycc-69a137ff889f552b3ce58b861f3f0601c1818d6b.tar.bz2
#pragma comment(option,"-..."), bitfields test, etc...
tccpp.c: * #pragma comment(option,"-some-option") to set commandline option from C code. May work only for some options. libtcc.c: * option "-d1..9": sets a 'g_debug' global variable. (for development) tests2/Makefile: * new make targets: tests2.37 / tests2.37+ run single test from tests2, optionally update .expect * new variable GEN-ALWAYS to always generate certain .expects * bitfields test tccgen.c: * bitfields: fix a bug and improve slightly more * _Generic: ignore "type match twice"
Diffstat (limited to 'tcctok.h')
-rw-r--r--tcctok.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcctok.h b/tcctok.h
index 6d4ad30..5380ff3 100644
--- a/tcctok.h
+++ b/tcctok.h
@@ -167,6 +167,7 @@
DEF(TOK_push_macro, "push_macro")
DEF(TOK_pop_macro, "pop_macro")
DEF(TOK_once, "once")
+ DEF(TOK_option, "option")
/* builtin functions or variables */
#ifndef TCC_ARM_EABI