summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-26 15:12:55 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-26 15:12:55 +0000
commitb70378579cf597fcad467b75c9a9ca0996bfd7f4 (patch)
treec42a351cde2f9b4b5a0b1c1389ead48d06933aa1 /gcc/c-lex.c
parentbf2ba6390f71c4c668ee5da75e31c59833fed1b3 (diff)
downloadgcc-b70378579cf597fcad467b75c9a9ca0996bfd7f4.tar.gz
.:
* c-lex.c (c_lex): Remove # from %o diagnostic formatting. testsuite: * g++.old-deja/g++.other/lex1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41588 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index f68ae35a219..6f607692f4f 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -993,7 +993,7 @@ c_lex (value)
if (ISGRAPH (tok.val.c))
error ("stray '%c' in program", tok.val.c);
else
- error ("stray '\\%#o' in program", tok.val.c);
+ error ("stray '\\%o' in program", tok.val.c);
goto retry;
case CPP_NAME: