# HG changeset patch # User mjsousa # Date 1462991911 -3600 # Node ID d41dc551a326b13ac4cf69325692d2d9ec446fca # Parent 1f2af384fb1fb95ae0b6fd4eb15e7a41e04eb0c4 Delete the YY_NO_UNPUT define, as we do use the unput() function. diff -r 1f2af384fb1f -r d41dc551a326 stage1_2/iec_flex.ll --- a/stage1_2/iec_flex.ll Wed May 11 18:41:45 2016 +0100 +++ b/stage1_2/iec_flex.ll Wed May 11 19:38:31 2016 +0100 @@ -151,17 +151,6 @@ -/* We will not be using unput() in our flex code... */ -/* NOTE: it seems that this #define is no longer needed, It has been - * replaced by %option nounput. - * Should we simply delete it? - * For now leave it in, in case someone is using an old version of flex. - * In any case, the most harm that can result in a warning message - * when compiling iec.flex.c: - * warning: ‘void yyunput(int, char*)’ defined but not used - */ -#define YY_NO_UNPUT - /* Variable defined by the bison parser. * It must be initialised with the location * of the token being parsed.