fixed compiler warning

This commit is contained in:
Karma Riuk
2025-07-11 11:21:45 +02:00
parent 63f22a1b40
commit 552e68169f

View File

@@ -7,8 +7,8 @@ namespace ast {
struct infix_expr : expression { struct infix_expr : expression {
infix_expr(token::token, std::string, ast::expression*); infix_expr(token::token, std::string, ast::expression*);
token::token token; token::token token;
expression* left;
std::string op; std::string op;
expression* left;
expression* right; expression* right;
std::string token_literal() const override; std::string token_literal() const override;