* gengtype-lex.l (<in_struct>): Add '/'.

From-SVN: r245387
This commit is contained in:
Nathan Sidwell 2017-02-13 15:06:47 +00:00 committed by Nathan Sidwell
parent def227f1ad
commit 0e9d2c4f5f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-02-13 Nathan Sidwell <nathan@acm.org>
* gengtype-lex.l (<in_struct>): Add '/'.
2017-02-13 Martin Liska <mliska@suse.cz>
PR c/79471

View File

@ -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++;}