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
This commit is contained in:
parent
79f41ea419
commit
7dfe7bd6e9
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user