Skip to content

Commit

Permalink
Missing rule in defargs.l
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
albert-github committed Jul 16, 2021
1 parent 07f08c0 commit b4529e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/defargs.l
Expand Up @@ -269,6 +269,10 @@ CPPC "/\/"
if (yyextra->argRoundCount>0) yyextra->argRoundCount--;
else BEGIN( yyextra->readArgContext );
}
<CopyArgSquare>"[" {
yyextra->argSquareCount++;
*yyextra->copyArgValue += *yytext;
}
<CopyArgSquare>"]"({B}*{ID})* {
*yyextra->copyArgValue += yytext;
if (yyextra->argSquareCount>0)
Expand Down

0 comments on commit b4529e7

Please sign in to comment.