diff options
author | Ed Smith-Rowland <3dw4rd@verizon.net> | 2012-11-10 00:08:49 +0000 |
---|---|---|
committer | Edward Smith-Rowland <emsr@gcc.gnu.org> | 2012-11-10 00:08:49 +0000 |
commit | a4a0016d60bc7cd8953b162f44c793801e09441c (patch) | |
tree | 6f4eb9fb1a2dfd8c43e78bcc98930f16138e78c4 /libcpp/init.c | |
parent | 97996ede57cfd5ea8ab2e1b7c2ff04d311894128 (diff) | |
download | gcc-a4a0016d60bc7cd8953b162f44c793801e09441c.zip gcc-a4a0016d60bc7cd8953b162f44c793801e09441c.tar.gz gcc-a4a0016d60bc7cd8953b162f44c793801e09441c.tar.bz2 |
Implement a flag -fext-numeric-literals that allows control of whether GNU...
Implement a flag -fext-numeric-literals that allows control of whether GNU
numeric suffix extensions are parsed or passed to C++ as user-defined literals.
From-SVN: r193382
Diffstat (limited to 'libcpp/init.c')
-rw-r--r-- | libcpp/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcpp/init.c b/libcpp/init.c index 81b66df..ebe51c7 100644 --- a/libcpp/init.c +++ b/libcpp/init.c @@ -182,6 +182,7 @@ cpp_create_reader (enum c_lang lang, cpp_hash_table *table, CPP_OPTION (pfile, track_macro_expansion) = 2; CPP_OPTION (pfile, warn_normalize) = normalized_C; CPP_OPTION (pfile, warn_literal_suffix) = 1; + CPP_OPTION (pfile, ext_numeric_literals) = 1; /* Default CPP arithmetic to something sensible for the host for the benefit of dumb users like fix-header. */ |