Skip to content

Commit

Permalink
Initial parser class implementation for Zhivo.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Sep 12, 2024
1 parent 91c3d8d commit 1d7ca6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/parser/Parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class Parser {
Token digitToken = this->consume(TokenType::DIGIT);
expr = std::make_unique<NumberLiteralExpression>(
std::make_unique<Token>(digitToken),
Convert::translateDigit(digitToken.getImage())
ZhivoUtil::Convert::translateDigit(digitToken.getImage())
);
}

Expand Down

0 comments on commit 1d7ca6f

Please sign in to comment.