Shader: Add SourceLocation members

TODO: Fill from Parser and use them for error throwing in SanitizeVisitor
This commit is contained in:
SirLynix
2022-03-27 14:06:58 +02:00
committed by Jérôme Leclercq
parent b8bf19f8cd
commit 960ab64d98
15 changed files with 329 additions and 137 deletions

View File

@@ -736,8 +736,8 @@ namespace Nz
{
Visit(node.expr, true);
for (const std::string& identifier : node.identifiers)
Append(".", identifier);
for (const auto& identifierEntry : node.identifiers)
Append(".", identifierEntry.identifier);
}
void LangWriter::Visit(ShaderAst::AccessIndexExpression& node)