Shader: Add SourceLocation members
TODO: Fill from Parser and use them for error throwing in SanitizeVisitor
This commit is contained in:
committed by
Jérôme Leclercq
parent
b8bf19f8cd
commit
960ab64d98
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user