Skip to content

Commit afcfa96

Browse files
committed
Fix parser.cpp
1 parent e2e0132 commit afcfa96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ ParseResult Parser::parse(bool doExecute) {
508508
result.logs = logs;
509509
result.logFilePath = hasLogFile ? logFilePath : "";
510510
result.logFileContent = hasLogFile ? logFileContent : "";
511+
result.importLogs = importLogs;
511512

512513
} catch (const std::exception& e) {
513514
result.error = e.what();
@@ -656,7 +657,6 @@ ASTNode Parser::parseImportCommand() {
656657
std::string _type = importLog[2];
657658
addImportLog(_path, _script, _type);
658659
}
659-
660660
} else {
661661
throw std::runtime_error("Expected \"(\", got \"" + currentToken().value + "\" at " + Utility::position(position, input));
662662
}

0 commit comments

Comments
 (0)