From 0e9d2c4f5f595a2def9c11d1ace4426143c6f592 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 13 Feb 2017 15:06:47 +0000 Subject: [PATCH] * gengtype-lex.l (): Add '/'. From-SVN: r245387 --- gcc/ChangeLog | 4 ++++ gcc/gengtype-lex.l | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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++;} -- 2.30.2