Skip to content
Snippets Groups Projects
Commit 0ea33a26 authored by John Kessenich's avatar John Kessenich
Browse files

Non-functional: Retrigger bots; the previous failure looks suspicious.

parent cf6bd066
No related branches found
No related tags found
No related merge requests found
......@@ -521,13 +521,11 @@ bool HlslGrammar::acceptDeclaration(TIntermNode*& nodeList)
// was actually an assignment such as "float = 4", where "float" is an identifier.
// We put the token back to let further parsing happen for cases where that may
// happen. This errors on the side of caution, and mostly triggers the error.
if (peek() == EHTokAssign || peek() == EHTokLeftBracket || peek() == EHTokDot || peek() == EHTokComma) {
if (peek() == EHTokAssign || peek() == EHTokLeftBracket || peek() == EHTokDot || peek() == EHTokComma)
recedeToken();
return false;
} else {
else
expected(";");
return false;
}
return false;
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment