In constifying some more of line-map I discovered gengtype didn't know mutable. Added thusly.

nathan

--
Nathan Sidwell
2019-10-13  Nathan Sidwell  <nat...@acm.org>

	* gengtype-lex.l (CXX_KEYWORD): Add 'mutable'.

Index: gcc/gengtype-lex.l
===================================================================
--- gcc/gengtype-lex.l	(revision 275726)
+++ gcc/gengtype-lex.l	(working copy)
@@ -58,7 +58,7 @@ ITYPE	{IWORD}({WS}{IWORD})*
     /* Include '::' in identifiers to capture C++ scope qualifiers.  */
 ID	{CID}({HWS}::{HWS}{CID})*
 EOID	[^[:alnum:]_]
-CXX_KEYWORD inline|public:|private:|protected:|template|operator|friend|static
+CXX_KEYWORD inline|public:|private:|protected:|template|operator|friend|static|mutable
 
 %x in_struct in_struct_comment in_comment
 %option warn noyywrap nounput nodefault perf-report

Reply via email to