From b4529e77250989f7e82b2176d97fe59dfb70884e Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 16 Jul 2021 10:35:07 +0200 Subject: [PATCH] Missing rule in defargs.l The fix in defargs.l regarding the "undeclared start condition CCopyArgSquare" should not have removed the complete rule but just the first `C`om `CCopyArgSquare` --- src/defargs.l | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/defargs.l b/src/defargs.l index 540844429f9..e9c748e42d2 100644 --- a/src/defargs.l +++ b/src/defargs.l @@ -269,6 +269,10 @@ CPPC "/\/" if (yyextra->argRoundCount>0) yyextra->argRoundCount--; else BEGIN( yyextra->readArgContext ); } +"[" { + yyextra->argSquareCount++; + *yyextra->copyArgValue += *yytext; + } "]"({B}*{ID})* { *yyextra->copyArgValue += yytext; if (yyextra->argSquareCount>0)