diff options
author | Zack Weinberg <zack@rabi.phys.columbia.edu> | 1998-12-07 14:15:29 +0000 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1998-12-07 09:15:29 -0500 |
commit | c50bca0894c554662fbd42728bd118d7b9f41b49 (patch) | |
tree | 88adc2af69a7da636a68ab4d8b14fa33e27d1ed3 /gcc/c-decl.c | |
parent | f1a86df6cbc181439d3c1b402275110c9debd76d (diff) | |
download | gcc-c50bca0894c554662fbd42728bd118d7b9f41b49.zip gcc-c50bca0894c554662fbd42728bd118d7b9f41b49.tar.gz gcc-c50bca0894c554662fbd42728bd118d7b9f41b49.tar.bz2 |
cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM so it'll work on non-ASCII platforms.
1998-12-07 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM
so it'll work on non-ASCII platforms. Always consider $ an
identifier character. Take no arguments.
(cpp_reader_init): Call initialize_char_syntax with no
arguments.
(cpp_start_read): Don't call initialize_char_syntax again.
Clear is_idchar['$'] and is_idstart['$'] if not
opts->dollars_in_ident.
* cpplib.h (struct cpp_reader): Replace void *data element by
cpp_options *opts. Rearrange elements to make gdb printout
less annoying (put buffer stack at end).
(CPP_OPTIONS): Get rid of now-unnecessary cast.
* cppmain.c: s/data/opts/ when initializing cpp_reader
structure.
* c-decl.c: Likewise.
* objc/objc-act.c: Likewise.
* fix-header.c: Likewise.
From-SVN: r24154
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index c089836..f5e9573 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -618,7 +618,7 @@ c_decode_option (argc, argv) if (! cpp_initialized) { cpp_reader_init (&parse_in); - parse_in.data = &parse_options; + parse_in.opts = &parse_options; cpp_options_init (&parse_options); cpp_initialized = 1; } |