Skip to content

Commit

Permalink
Bug 759247 - C++11 unified initializer for array with templates treat…
Browse files Browse the repository at this point in the history
…ed as function
  • Loading branch information
Dimitri van Heesch committed Dec 13, 2015
1 parent 368f4f0 commit 692544f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scanner.l
Expand Up @@ -2431,6 +2431,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
else
{
externC=FALSE; // see bug759247
BEGIN(FindMembers);
}
}
Expand Down Expand Up @@ -3417,6 +3418,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
{
current->args += yytext ;
squareCount=1;
externC=FALSE; // see bug759247
BEGIN( Array ) ;
}
}
Expand Down

0 comments on commit 692544f

Please sign in to comment.