diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-01-13 14:23:04 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-01-13 14:23:04 +0000 |
commit | b61c5ed0058862f8ddd6ac88b7fcc5f6625ab06f (patch) | |
tree | 790358caf003cb815d8295a50caabbc24276b785 /gcc/cp/lex.c | |
parent | f14269a00c221b575842571ca665eb4b454da1d5 (diff) | |
download | gcc-b61c5ed0058862f8ddd6ac88b7fcc5f6625ab06f.zip gcc-b61c5ed0058862f8ddd6ac88b7fcc5f6625ab06f.tar.gz gcc-b61c5ed0058862f8ddd6ac88b7fcc5f6625ab06f.tar.bz2 |
c-lex.c (init_c_lex): Use cpp_get_callbacks to set callbacks.
* c-lex.c (init_c_lex): Use cpp_get_callbacks to set
callbacks.
* c-parse.in (finish_parse): Use cpp_errors.
(__yylex): Use return value of cpp_pop_buffer.
* cp/lex.c (finish_parse): Use cpp_errors.
* cp/spew.c (read_token): Use return value of cpp_pop_buffer.
From-SVN: r38982
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index f295e7c..c8d6587 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -755,7 +755,7 @@ void finish_parse () { cpp_finish (parse_in); - errorcount += parse_in->errors; + errorcount += cpp_errors (parse_in); } inline void |