* c-lex.c (c_lex): Set the token value to error_mark_node for
invalid numeric constants.
PR c++/9264
* g++.dg/parse/octal1.C: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61235
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-01-12 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/9264
+ * c-lex.c (c_lex): Set the token value to error_mark_node for
+ invalid numeric constants.
+
2003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-pch.c (asm_file_startpos): Change to `long'.
{
case CPP_N_INVALID:
/* cpplib has issued an error. */
+ *value = error_mark_node;
break;
case CPP_N_INTEGER:
+2003-01-12 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/9264
+ * g++.dg/parse/octal1.C: New file.
+
+ PR c++/9172
+ * g++.dg/parse/typename1.C: New file.
+
2003-01-10 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/bf-ms-layout.c: Enable for cygwin and mingw32 targets.
--- /dev/null
+int i = 08; // { dg-error "" }