# HG changeset patch # User David A. Holland # Date 1370894742 14400 # Node ID dc63e70e425d91df3aa0905c81ca9fd2cbcd3f01 # Parent ca5e4e0237f5c5837929d2b4b7a7d56cdc50b4dc Accept and ignore -traditional. diff -r ca5e4e0237f5 -r dc63e70e425d main.c --- a/main.c Sun Mar 31 11:22:22 2013 -0400 +++ b/main.c Mon Jun 10 16:05:42 2013 -0400 @@ -82,6 +82,9 @@ .unused = false, }; +/* this is always true, but can be set explicitly with -traditional */ +static bool traditional = true; + //////////////////////////////////////////////////////////// // commandline macros @@ -733,6 +736,7 @@ { "fdollars-in-identifiers", &mode.input_allow_dollars, true }, { "fno-dollars-in-identifiers", &mode.input_allow_dollars, false }, { "nostdinc", &mode.do_stdinc, false }, + { "traditional", &traditional, true }, { "undef", &mode.do_stddef, false }, }; static const unsigned num_flag_options = HOWMANY(flag_options);