diff options
author | Richard Henderson <rth@redhat.com> | 2000-11-28 14:52:26 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-11-28 14:52:26 -0800 |
commit | 7dfe7bd6e9aabf8c72644ebdf7e35322b14e6597 (patch) | |
tree | 9d80bde173405264e4a5651cf44e5d583a871efd | |
parent | 79f41ea419aba4b68b40840ac2eac7827d93b307 (diff) | |
download | gcc-7dfe7bd6e9aabf8c72644ebdf7e35322b14e6597.zip gcc-7dfe7bd6e9aabf8c72644ebdf7e35322b14e6597.tar.gz gcc-7dfe7bd6e9aabf8c72644ebdf7e35322b14e6597.tar.bz2 |
c-parse.in (finish_parse): Update for parse_in type change.
* c-parse.in (finish_parse): Update for parse_in type change.
(_yylex): Likewise.
From-SVN: r37832
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-parse.in | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4855894..e3f1484 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-11-28 Richard Henderson <rth@redhat.com> + + * c-parse.in (finish_parse): Update for parse_in type change. + (_yylex): Likewise. + 2000-11-28 Neil Booth <neilb@earthling.net> * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 170f533..cf010e6 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -3134,8 +3134,8 @@ init_parse (filename) void finish_parse () { - cpp_finish (&parse_in); - errorcount += parse_in.errors; + cpp_finish (parse_in); + errorcount += parse_in->errors; } #define NAME(type) cpp_type2name (type) @@ -3231,8 +3231,8 @@ _yylex () case CPP_DOT: return '.'; case CPP_EOF: - cpp_pop_buffer (&parse_in); - if (! CPP_BUFFER (&parse_in)) + cpp_pop_buffer (parse_in); + if (! CPP_BUFFER (parse_in)) return 0; goto retry; |