From: Nathan Sidwell Date: Mon, 13 Feb 2017 15:06:47 +0000 (+0000) Subject: * gengtype-lex.l (): Add '/'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e9d2c4f5f595a2def9c11d1ace4426143c6f592;p=gcc.git * gengtype-lex.l (): Add '/'. From-SVN: r245387 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 19c9e010d7c..1caf3076cec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-02-13 Nathan Sidwell + + * gengtype-lex.l (): Add '/'. + 2017-02-13 Martin Liska PR c/79471 diff --git a/gcc/gengtype-lex.l b/gcc/gengtype-lex.l index 8eee652241c..17ead396689 100644 --- a/gcc/gengtype-lex.l +++ b/gcc/gengtype-lex.l @@ -159,7 +159,7 @@ CXX_KEYWORD inline|public:|private:|protected:|template|operator|friend|static } "..." { return ELLIPSIS; } -[(){},*:<>;=%|+\!\?\.-] { return yytext[0]; } +[(){},*:<>;=%/|+\!\?\.-] { return yytext[0]; } /* ignore pp-directives */ ^{HWS}"#"{HWS}[a-z_]+[^\n]*\n {lexer_line.line++;}