diff --git a/Makefile b/Makefile index 9069950..845029c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ compile: bison --verbose -d Monicelli.y flex -P mc Monicelli.ll - g++ -std=c++11 -DYYDEBUG=0 Monicelli.tab.c lex.mc.c Nodes.cpp main.cpp -o mcc + g++ -Wall -std=c++11 -DYYDEBUG=0 Monicelli.tab.c lex.mc.c Nodes.cpp main.cpp -o mcc rm Monicelli.tab.* lex.mc.c graph: diff --git a/Monicelli.ll b/Monicelli.ll index 7384bfc..f1ca7c7 100644 --- a/Monicelli.ll +++ b/Monicelli.ll @@ -12,6 +12,7 @@ using namespace monicelli; %} %option noyywrap +%option nounput DIGIT [0-9] HEXDIGIT [0-9a-zA-Z]