From 5677efb0be578c0cb8b7df83700bed0de7cbf69f Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 26 Apr 2001 15:12:55 +0000 Subject: c-lex.c (c_lex): Remove # from %o diagnostic formatting. .: * c-lex.c (c_lex): Remove # from %o diagnostic formatting. testsuite: * g++.old-deja/g++.other/lex1.C: New test. From-SVN: r41588 --- gcc/c-lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/c-lex.c') diff --git a/gcc/c-lex.c b/gcc/c-lex.c index f68ae35..6f60769 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: -- cgit v1.1