# HG changeset patch # User mjsousa # Date 1464269193 -3600 # Node ID 9414b0785849cab9c220d3bff8b0fe7f55015110 # Parent a61f8f58f6124dede4d3e9ffda346f5a0c26c25c Add -warn flag when running flex -> warn of potential bugs diff -r a61f8f58f612 -r 9414b0785849 stage1_2/Makefile.am --- a/stage1_2/Makefile.am Fri May 13 12:18:50 2016 +0100 +++ b/stage1_2/Makefile.am Thu May 26 14:26:33 2016 +0100 @@ -1,7 +1,9 @@ include ../common.mk +## Flags for yacc syntax parser generator (bison) AM_YFLAGS = -d -AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c +## Flags for lex lexer generator (flex) +AM_LFLAGS = --warn -o$(LEX_OUTPUT_ROOT).c # Make sure this header file is generated first (by bison), as it is included # by other C++ code that will also be compiled.