parent
9f76fd1330
commit
4b900778c3
2 changed files with 5 additions and 2 deletions
|
|
@ -161,8 +161,10 @@ bool HlslGrammar::acceptDeclarationList(TIntermNode*& nodeList)
|
|||
return true;
|
||||
|
||||
// declaration
|
||||
if (! acceptDeclaration(nodeList))
|
||||
if (! acceptDeclaration(nodeList)) {
|
||||
expected("declaration");
|
||||
return false;
|
||||
}
|
||||
} while (true);
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue