Fuck Yeah!
This commit is contained in:
parent
4d16b6fb08
commit
6490ab759b
2 changed files with 1 additions and 8 deletions
2
makefile
2
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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue