1999-07-05 Dave Brolley <brolley@cygnus.com>
* lex.c (errorcount): Declare it.
(finish_parse): Update errorcount for when using CPPLIB.
From-SVN: r27955
+1999-07-05 Dave Brolley <brolley@cygnus.com>
+
+ * lex.c (errorcount): Declare it.
+ (finish_parse): Update errorcount for when using CPPLIB.
+
1999-07-05 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (IS_AGGR_TYPE): Include instantiated template template
extern cpp_reader parse_in;
extern cpp_options parse_options;
extern unsigned char *yy_cur, *yy_lim;
+extern int errorcount;
#else
FILE *finput;
#endif
{
#if USE_CPPLIB
cpp_finish (&parse_in);
+ errorcount += parse_in.errors;
#else
fclose (finput);
#endif