Skip to content

Commit 111319e

Browse files
committed
fixup! fixup! C++ front-end: parse template parameter packs
1 parent 9f27591 commit 111319e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cpp/parse.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3149,7 +3149,7 @@ bool Parser::rDeclarator(
31493149
if(!rDeclaratorQualifier())
31503150
return false;
31513151

3152-
if(lex.LookAhead(0)==TOK_ELLIPSIS)
3152+
if(lex.LookAhead(0)==TOK_ELLIPSIS && lex.LookAhead(1)!=')')
31533153
{
31543154
cpp_tokent tk;
31553155
lex.get_token(tk);

0 commit comments

Comments
 (0)