From 6490ab759b4e09a32a5fc1bb155cf562623e2006 Mon Sep 17 00:00:00 2001 From: bronku Date: Fri, 21 Nov 2025 09:48:28 +0100 Subject: [PATCH] Fuck Yeah! --- makefile | 2 +- src/scanner.cpp | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 src/scanner.cpp diff --git a/makefile b/makefile index 366ef4d..2f3467f 100644 --- a/makefile +++ b/makefile @@ -5,7 +5,7 @@ FLEX = flex TARGET = build/py2rb -$(TARGET): build/parser.o build/lexer.o build/main.o build/scanner.o +$(TARGET): build/parser.o build/lexer.o build/main.o $(CXX) $^ -o $@ build/parser.cpp build/parser.hpp: src/parser.y | build diff --git a/src/scanner.cpp b/src/scanner.cpp deleted file mode 100644 index 9aa112c..0000000 --- a/src/scanner.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "../src/scanner.hpp" - -int scanner_lex(yy::parser::semantic_type *yylval) -{ - static Scanner scanner(&std::cin); - return scanner.lex(yylval); -} \ No newline at end of file