This commit is contained in:
1 file changed
+3
-2
@@ -84,9 +84,10 @@ namespace MalachScript::Parser {
|
||||
break;
|
||||
}
|
||||
case ParsedStatementKind::Namespace: {
|
||||
const auto* ns = static_cast<const ParsedNamespaceStatement*>(statement);
|
||||
stream << " " << ns->GetIdentifier();
|
||||
stream << std::endl;
|
||||
auto& script = static_cast<const ParsedNamespaceStatement*>(statement)->GetScript();
|
||||
Stringify(script.get(), stream, prefix + (isLast ? " " : "│ "), true);
|
||||
Stringify(ns->GetScript().get(), stream, prefix + (isLast ? " " : "│ "), true);
|
||||
break;
|
||||
}
|
||||
case ParsedStatementKind::Type: {
|
||||
|
||||
Reference in new issue
Block a user