Add missing SEMICOLON to declarator_no_fun

This commit is contained in:
Randy Heit 2016-03-10 10:33:19 -06:00
parent 3d367d585d
commit 2e588c2099
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ declarator(X) ::= decl_flags(A) type_list_or_void(B) variables_or_function(C).
X = NULL;
}
}
declarator_no_fun(X) ::= decl_flags(A) type(B) variable_list(C).
declarator_no_fun(X) ::= decl_flags(A) type(B) variable_list(C) SEMICOLON.
{
NEW_AST_NODE(VarDeclarator, decl, A.SourceLoc ? A.SourceLoc : B->SourceLoc);
decl->Type = B;