Skip to content

Commit

Permalink
Small fix on Parser class.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 25, 2024
1 parent 79cbfbc commit 7f94ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zhivo/parser/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ std::unique_ptr<ASTNode> Parser::exprVal() {
while(this->isNext(".", TokenType::OPERATOR)) {
this->consume(".");
variable.appendToImage(
"." +
std::string(".") +
this->consume(TokenType::IDENTIFIER)
.getImage()
);
Expand Down

0 comments on commit 7f94ff1

Please sign in to comment.