turn -fdollars-in-identifiers on by default
gcc and clang do it too
This commit is contained in:
parent
60ceab1453
commit
f2fd56a27d
1 changed files with 1 additions and 0 deletions
1
libtcc.c
1
libtcc.c
|
@ -733,6 +733,7 @@ LIBTCCAPI TCCState *tcc_new(void)
|
||||||
++nb_states;
|
++nb_states;
|
||||||
|
|
||||||
s->nocommon = 1;
|
s->nocommon = 1;
|
||||||
|
s->dollars_in_identifiers = 1; /*on by default like in gcc/clang*/
|
||||||
s->cversion = 199901; /* default unless -std=c11 is supplied */
|
s->cversion = 199901; /* default unless -std=c11 is supplied */
|
||||||
s->warn_implicit_function_declaration = 1;
|
s->warn_implicit_function_declaration = 1;
|
||||||
s->ms_extensions = 1;
|
s->ms_extensions = 1;
|
||||||
|
|
Loading…
Reference in a new issue