Commit 7dfe7bd6 by Richard Henderson Committed by Richard Henderson

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
parent 79f41ea4
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> 2000-11-28 Neil Booth <neilb@earthling.net>
* cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
......
...@@ -3134,8 +3134,8 @@ init_parse (filename) ...@@ -3134,8 +3134,8 @@ init_parse (filename)
void void
finish_parse () finish_parse ()
{ {
cpp_finish (&parse_in); cpp_finish (parse_in);
errorcount += parse_in.errors; errorcount += parse_in->errors;
} }
#define NAME(type) cpp_type2name (type) #define NAME(type) cpp_type2name (type)
...@@ -3231,8 +3231,8 @@ _yylex () ...@@ -3231,8 +3231,8 @@ _yylex ()
case CPP_DOT: return '.'; case CPP_DOT: return '.';
case CPP_EOF: case CPP_EOF:
cpp_pop_buffer (&parse_in); cpp_pop_buffer (parse_in);
if (! CPP_BUFFER (&parse_in)) if (! CPP_BUFFER (parse_in))
return 0; return 0;
goto retry; goto retry;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment