diff options
author | brolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-12-07 14:15:29 +0000 |
---|---|---|
committer | brolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-12-07 14:15:29 +0000 |
commit | e2fba1154d5f33e785a72cd78bd9958c917f03f8 (patch) | |
tree | 88adc2af69a7da636a68ab4d8b14fa33e27d1ed3 /gcc/cppmain.c | |
parent | bbe5b5e390cbfc384dfeba093af5d0054f7cf3f0 (diff) | |
download | ppe42-gcc-e2fba1154d5f33e785a72cd78bd9958c917f03f8.tar.gz ppe42-gcc-e2fba1154d5f33e785a72cd78bd9958c917f03f8.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24154 138bc75d-0d04-0410-961f-82ee72b054a4
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 b39df34f055..7d11ca09d05 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); |