Skip to content

Commit

Permalink
Bug 721462 - Parsing problem with C++11 empty initializer lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Jan 8, 2014
1 parent 3337add commit 1bfacc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/scanner.l
Expand Up @@ -5115,6 +5115,11 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
lastCContext = YY_START;
BEGIN(SkipCxxComment);
}
<SkipInits>"(" {
roundCount=0;
lastSkipRoundContext=YY_START;
BEGIN(SkipRound);
}
<SkipInits>\" {
lastStringContext=YY_START;
BEGIN( SkipString );
Expand Down

0 comments on commit 1bfacc3

Please sign in to comment.