Delete the YY_NO_UNPUT define, as we do use the unput() function.
authormjsousa
Wed, 11 May 2016 19:38:31 +0100
changeset 1013 d41dc551a326
parent 1012 1f2af384fb1f
child 1014 a61f8f58f612
Delete the YY_NO_UNPUT define, as we do use the unput() function.
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.