Permalink
Browse files

Bug 759247 - C++11 unified initializer for array with templates treat…

…ed as function
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Dec 13, 2015
1 parent 368f4f0 commit 692544fb47407a3f2c5a5a5e4b80185428adda25
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/scanner.l
View
@@ -2431,6 +2431,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
else
{
externC=FALSE; // see bug759247
BEGIN(FindMembers);
}
}
@@ -3417,6 +3418,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
{
current->args += yytext ;
squareCount=1;
externC=FALSE; // see bug759247
BEGIN( Array ) ;
}
}

0 comments on commit 692544f

Please sign in to comment.