cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM so it'll work on non-ASCII...
authorZack Weinberg <zack@rabi.phys.columbia.edu>
Mon, 7 Dec 1998 14:15:29 +0000 (14:15 +0000)
committerDave Brolley <brolley@gcc.gnu.org>
Mon, 7 Dec 1998 14:15:29 +0000 (09:15 -0500)
commitc50bca0894c554662fbd42728bd118d7b9f41b49
tree88adc2af69a7da636a68ab4d8b14fa33e27d1ed3
parentf1a86df6cbc181439d3c1b402275110c9debd76d
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
gcc/ChangeLog
gcc/c-decl.c
gcc/cpplib.c
gcc/cpplib.h
gcc/cppmain.c
gcc/fix-header.c
gcc/objc/objc-act.c