re PR c++/9264 ([parser] ICE on invalid octal constant)
authorMark Mitchell <mark@codesourcery.com>
Mon, 13 Jan 2003 00:14:59 +0000 (00:14 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 13 Jan 2003 00:14:59 +0000 (00:14 +0000)
commite8f2b18d0ec4fc04cba5d9ea60350645247c6548
tree4bfd2ec87798546ab7a146b54285f39e03ce62eb
parent70f8b89fd9ff69e2b399042d5b15cd367c970c67
re PR c++/9264 ([parser] ICE on invalid octal constant)

PR c++/9264
* 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.

From-SVN: r61235
gcc/ChangeLog
gcc/c-lex.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/octal1.C [new file with mode: 0644]