aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-05-13 12:16:00 +0300
committerseyko <seyko2@gmail.com>2015-05-13 12:16:00 +0300
commit80322adaa0544eedc7198ed4c529a41856f66f43 (patch)
tree59191ba1522521412f07f5a8dccc38f9e9fb4326 /tcc.h
parentcf92f7aacbc9e3c828e6a1b68eed6a87d0cf88bd (diff)
downloadtinycc-80322adaa0544eedc7198ed4c529a41856f66f43.tar.gz
tinycc-80322adaa0544eedc7198ed4c529a41856f66f43.tar.bz2
redo of the -dD option
functionality was broken some time ago and was removed by the "tccpp: fix issues, add tests" fix: LINE_MACRO_OUTPUT_FORMAT_NONE in pp_line() means: output '\n' and not "don't output at all"
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 4d55cc5..99f4183 100644
--- a/tcc.h
+++ b/tcc.h
@@ -669,6 +669,7 @@ struct TCCState {
LINE_MACRO_OUTPUT_FORMAT_NONE,
LINE_MACRO_OUTPUT_FORMAT_STD,
} Pflag; /* -P switch */
+ int dflag; /* -dX value */
/* for -MD/-MF: collected dependencies for this compilation */
char **target_deps;
@@ -1185,6 +1186,7 @@ ST_INLN void define_push(int v, int macro_type, int *str, Sym *first_arg);
ST_FUNC void define_undef(Sym *s);
ST_INLN Sym *define_find(int v);
ST_FUNC void free_defines(Sym *b);
+ST_FUNC void print_defines(void);
ST_FUNC Sym *label_find(int v);
ST_FUNC Sym *label_push(Sym **ptop, int v, int flags);
ST_FUNC void label_pop(Sym **ptop, Sym *slast);