From b61c5ed0058862f8ddd6ac88b7fcc5f6625ab06f Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 13 Jan 2001 14:23:04 +0000 Subject: 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 --- gcc/cp/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cp/lex.c') 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 -- cgit v1.1