From 50a51df0404ee4f057fbc19657672d1c7d3eef68 Mon Sep 17 00:00:00 2001 From: Cori Barker Date: Sat, 7 Mar 2026 18:33:21 +0000 Subject: removed implementations of symbol table related classes, need to fix the parser to use the new AST node classes then i can write the symbol table classes and refactor the lexer and parser to use the symbol table --- src/parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index b697254..fe86397 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4,8 +4,8 @@ Parser::Parser(const std::vector& tokens) : tokens_(tokens), position_(0) {} -std::unique_ptr Parser::parse() { - auto program = std::make_unique(); +std::unique_ptr Parser::parse() { + auto program = std::make_unique(); while (peek().type != TokenType::END_OF_FILE) { try { -- cgit v1.2.3