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/cppmain.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/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index b39df34..7d11ca0 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -69,7 +69,7 @@ main (argc, argv) progname = p; cpp_reader_init (&parse_in); - parse_in.data = opts; + parse_in.opts = opts; cpp_options_init (opts); |