We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2e0132 commit afcfa96Copy full SHA for afcfa96
core/parser.cpp
@@ -508,6 +508,7 @@ ParseResult Parser::parse(bool doExecute) {
508
result.logs = logs;
509
result.logFilePath = hasLogFile ? logFilePath : "";
510
result.logFileContent = hasLogFile ? logFileContent : "";
511
+ result.importLogs = importLogs;
512
513
} catch (const std::exception& e) {
514
result.error = e.what();
@@ -656,7 +657,6 @@ ASTNode Parser::parseImportCommand() {
656
657
std::string _type = importLog[2];
658
addImportLog(_path, _script, _type);
659
}
-
660
} else {
661
throw std::runtime_error("Expected \"(\", got \"" + currentToken().value + "\" at " + Utility::position(position, input));
662
0 commit comments