Minor fixes

This commit is contained in:
Jérôme Leclercq
2022-02-24 18:52:38 +01:00
parent cb1bc956b2
commit 6611cdf72e
2 changed files with 6 additions and 4 deletions

View File

@@ -665,6 +665,7 @@ namespace Nz::ShaderLang
case TokenType::For:
statement = ParseForDeclaration(std::move(attributes));
attributes.clear();
break;
case TokenType::Let:
@@ -703,6 +704,7 @@ namespace Nz::ShaderLang
case TokenType::While:
statement = ParseWhileStatement(std::move(attributes));
attributes.clear();
break;
default: