diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-04-01 22:02:31 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-04-01 22:02:31 +0000 |
commit | 46d0749798b85a9f8707d6fef1e744dc07c1e3fb (patch) | |
tree | 8bffafc0a20134bd168e2f6e43a7347d01bde972 /gcc/cppinit.c | |
parent | 61098249b51d7c483274d72796401720079e55a9 (diff) | |
download | gcc-46d0749798b85a9f8707d6fef1e744dc07c1e3fb.zip gcc-46d0749798b85a9f8707d6fef1e744dc07c1e3fb.tar.gz gcc-46d0749798b85a9f8707d6fef1e744dc07c1e3fb.tar.bz2 |
cpplex.c: Copy ISTABLE macros from cppinit.c...
* cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
to initialize speccase[] and trigraph_map[]. Delete all
references to pfile->input_speccase. Always treat '?' as a
special character. Remove table-initialization code from
_cpp_init_input_buffer.
* cpplib.h (struct cpp_reader): Remove input_speccase field.
* cppinit.c (cpp_cleanup): Don't free input_speccase.
From-SVN: r32858
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index baafb7e..63f5ea8 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -572,8 +572,7 @@ cpp_cleanup (pfile) if (pfile->input_buffer) { free (pfile->input_buffer); - free (pfile->input_speccase); - pfile->input_buffer = pfile->input_speccase = NULL; + pfile->input_buffer = NULL; pfile->input_buffer_len = 0; } |