aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-11-26 17:31:13 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-11-26 17:31:13 +0000
commitbdb05a7b49ee8569b9efa1b0e0401b3026e1034e (patch)
treeb125a3451c60a8ac14f5f3f3cd8afb06f601958a /gcc/cpphash.h
parente1085962754472b391d366d591f66e2413c8faa7 (diff)
downloadgcc-bdb05a7b49ee8569b9efa1b0e0401b3026e1034e.zip
gcc-bdb05a7b49ee8569b9efa1b0e0401b3026e1034e.tar.gz
gcc-bdb05a7b49ee8569b9efa1b0e0401b3026e1034e.tar.bz2
cpplib.h (struct cpp_reader): Remove lang_asm.
* cpplib.h (struct cpp_reader): Remove lang_asm. (struct cpp_options): Remove c89. New members lang, extended_numbers. * cppexp.c (parse_number): Use them. * cpphash.h (VALID_SIGN): Use them. * cppinit.c (set_lang, cpp_start_read): Update. * cpplex.c (parse_string, _cpp_lex_token): Update. * cpplib.c (_cpp_handle_directive): Update. * cppmacro.c (parse_args): Update. * cppmain.c (scan_buffer): Update. From-SVN: r37761
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index ccbe1c7..500c0c2 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -26,7 +26,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define VALID_SIGN(c, prevc) \
(((c) == '+' || (c) == '-') && \
((prevc) == 'e' || (prevc) == 'E' \
- || (((prevc) == 'p' || (prevc) == 'P') && !CPP_OPTION (pfile, c89))))
+ || (((prevc) == 'p' || (prevc) == 'P') \
+ && CPP_OPTION (pfile, extended_numbers))))
/* Memory pools. */
#define ALIGN(size, align) (((size) + ((align) - 1)) & ~((align) - 1))