From 8b37331abdcd1a29e8b3950d222e41baf7326b56 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 3 Dec 2009 11:55:09 -0800 Subject: * parser.l (YY_NO_UNPUT): Removed superfluous #define. This is not needed because suppressing generation of unput is requested via the %option. In scanners generated by the legacy version of flex, 2.5.4, still widely in use. this redundancy leads to a multiple #define YY_NO_UNPUT and a compiler warning. --- ChangeLog | 8 ++++++++ parser.l | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index dea783b5..a1ac83d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-12-03 Kaz Kylheku + + * parser.l (YY_NO_UNPUT): Removed superfluous #define. This is not + needed because suppressing generation of unput is requested via + the %option. In scanners generated by the legacy version of + flex, 2.5.4, still widely in use. this redundancy leads to + a multiple #define YY_NO_UNPUT and a compiler warning. + 2009-12-03 Kaz Kylheku Fix for failing test suite on MIPS machine, due to diff --git a/parser.l b/parser.l index 586c21d1..8ed85887 100644 --- a/parser.l +++ b/parser.l @@ -42,8 +42,6 @@ #include "utf8.h" #include "parser.h" -#define YY_NO_UNPUT - #define YY_INPUT(buf, result, max_size) \ do { \ val c = nil; \ -- cgit v1.2.3