Shader: Add support for numerical fors

This commit is contained in:
Jérôme Leclercq
2022-01-06 20:38:55 +01:00
parent 972d5ffd3f
commit 756fd773a9
24 changed files with 746 additions and 134 deletions

View File

@@ -113,7 +113,7 @@ namespace Nz::ShaderLang
if (next == '>')
{
currentPos++;
tokenType = TokenType::FunctionReturn;
tokenType = TokenType::Arrow;
break;
}
else if (next == '=')