Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/bytecode_parser/scenarios/FunctionParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ std::expected<bool, BytecodeParserError> FunctionParser::Handle(ParsingSessionPt
return res;
} else if (!res.value()) {
return std::unexpected(
BytecodeParserError("Command expected at line" + std::to_string(ctx->Current()->GetPosition().GetLine())));
BytecodeParserError("Command expected at line " + std::to_string(ctx->Current()->GetPosition().GetLine())));
}
}

Expand Down
8 changes: 4 additions & 4 deletions lib/bytecode_parser/scenarios/IfParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ std::expected<bool, BytecodeParserError> IfParser::Handle(std::shared_ptr<Parsin
return res;
} else if (!res.value()) {
return std::unexpected(
BytecodeParserError("Command expected at line" + std::to_string(ctx->Current()->GetPosition().GetLine())));
BytecodeParserError("Command expected at line " + std::to_string(ctx->Current()->GetPosition().GetLine())));
}
}

Expand Down Expand Up @@ -73,7 +73,7 @@ std::expected<bool, BytecodeParserError> IfParser::Handle(std::shared_ptr<Parsin
return res;
} else if (!res.value()) {
return std::unexpected(
BytecodeParserError("Command expected at line" + std::to_string(ctx->Current()->GetPosition().GetLine())));
BytecodeParserError("Command expected at line " + std::to_string(ctx->Current()->GetPosition().GetLine())));
}
}

Expand Down Expand Up @@ -107,7 +107,7 @@ std::expected<bool, BytecodeParserError> IfParser::Handle(std::shared_ptr<Parsin
if (!res) {
return res;
} else if (!res.value()) {
return std::unexpected(BytecodeParserError("Command expected at line" +
return std::unexpected(BytecodeParserError("Command expected at line " +
std::to_string(ctx->Current()->GetPosition().GetLine())));
}
}
Expand Down Expand Up @@ -140,7 +140,7 @@ std::expected<bool, BytecodeParserError> IfParser::Handle(std::shared_ptr<Parsin
if (!res) {
return res;
} else if (!res.value()) {
return std::unexpected(BytecodeParserError("Command expected at line" +
return std::unexpected(BytecodeParserError("Command expected at line " +
std::to_string(ctx->Current()->GetPosition().GetLine())));
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/bytecode_parser/scenarios/InitStaticParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ std::expected<bool, BytecodeParserError> InitStaticParser::Handle(ParsingSession
return res;
} else if (!res.value()) {
return std::unexpected(
BytecodeParserError("Command expected at line" + std::to_string(ctx->Current()->GetPosition().GetLine())));
BytecodeParserError("Command expected at line " + std::to_string(ctx->Current()->GetPosition().GetLine())));
}
}

Expand Down
4 changes: 2 additions & 2 deletions lib/bytecode_parser/scenarios/WhileParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ std::expected<bool, BytecodeParserError> WhileParser::Handle(std::shared_ptr<Par
} else if (!res.value()) {
ctx->SetCurrentBlock(parent_block);
return std::unexpected(
BytecodeParserError("Command expected at line" + std::to_string(ctx->Current()->GetPosition().GetLine())));
BytecodeParserError("Command expected at line " + std::to_string(ctx->Current()->GetPosition().GetLine())));
}
}

Expand Down Expand Up @@ -77,7 +77,7 @@ std::expected<bool, BytecodeParserError> WhileParser::Handle(std::shared_ptr<Par
} else if (!res.value()) {
ctx->SetCurrentBlock(parent_block);
return std::unexpected(
BytecodeParserError("Command expected at line" + std::to_string(ctx->Current()->GetPosition().GetLine())));
BytecodeParserError("Command expected at line " + std::to_string(ctx->Current()->GetPosition().GetLine())));
}
}

Expand Down