Skip to content

Commit

Permalink
Bug 790320 - C++ parameter from lambda not recognized
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Dec 25, 2017
1 parent 2fe7bc7 commit 7b43be0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/defargs.l
Expand Up @@ -256,6 +256,14 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
REJECT;
}
}
<CopyArgSharp>">>)" { // combined token (see bug 790320)
*g_copyArgValue += yytext;
if (g_argSharpCount>0) g_argSharpCount--;
else BEGIN( g_readArgContext );
if (g_argSharpCount>0) g_argSharpCount--;
else BEGIN( g_readArgContext );
g_argRoundCount--;
}
<CopyArgSharp>">>" {
if (g_argRoundCount>0)
{
Expand Down

0 comments on commit 7b43be0

Please sign in to comment.