aboutsummaryrefslogtreecommitdiff
path: root/gcc/gengtype-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gengtype-lex.l')
-rw-r--r--gcc/gengtype-lex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gengtype-lex.l b/gcc/gengtype-lex.l
index ad70ba82e63..bbdf9913be4 100644
--- a/gcc/gengtype-lex.l
+++ b/gcc/gengtype-lex.l
@@ -194,6 +194,8 @@ ITYPE {IWORD}({WS}{IWORD})*
^"%{" { BEGIN(in_yacc_escape); }
+^"@@".* /* Used for c-parse.in C/ObjC demarcation. */
+
{WS} { update_lineno (yytext, yyleng); }
"const"/[^[:alnum:]_] /* don't care */