summaryrefslogtreecommitdiff
path: root/gcc/gengtype-lex.l
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-09 02:40:08 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-09 02:40:08 +0000
commit6e0ed7a2ec845c3beecc397b5064d66be891df6e (patch)
tree959ac971a137daac5692ea8ea5057db4be23bc81 /gcc/gengtype-lex.l
parent748634526fb74b0849a550b00ba88a44d3f81f28 (diff)
downloadgcc-6e0ed7a2ec845c3beecc397b5064d66be891df6e.tar.gz
* gengtype.h (error_at_line): Use PARAMS, not VPARAMS. Add
ATTRIBUTE_PRINTF_2. * gengtype-lex.l: Fix format specifier warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54394 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengtype-lex.l')
-rw-r--r--gcc/gengtype-lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gengtype-lex.l b/gcc/gengtype-lex.l
index c6383760197..6a212627bc1 100644
--- a/gcc/gengtype-lex.l
+++ b/gcc/gengtype-lex.l
@@ -283,7 +283,7 @@ ITYPE {IWORD}({WS}{IWORD})*
"%}" { BEGIN(in_struct); }
"%" {
error_at_line (&lexer_line,
- "unterminated %{; unexpected EOF");
+ "unterminated %%{; unexpected EOF");
}
}