summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-12-03 11:55:09 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-12-03 11:55:09 -0800
commit8b37331abdcd1a29e8b3950d222e41baf7326b56 (patch)
tree5d24e501b960230715d0e27b5f687f8f4ec63612
parentad025d8db847c1100b25478191a1a0ca9ad22db1 (diff)
downloadtxr-8b37331abdcd1a29e8b3950d222e41baf7326b56.tar.gz
txr-8b37331abdcd1a29e8b3950d222e41baf7326b56.tar.bz2
txr-8b37331abdcd1a29e8b3950d222e41baf7326b56.zip
* 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.
-rw-r--r--ChangeLog8
-rw-r--r--parser.l2
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dea783b5..a1ac83d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-12-03 Kaz Kylheku <kkylheku@gmail.com>
+ * 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 <kkylheku@gmail.com>
+
Fix for failing test suite on MIPS machine, due to
gc failing to mark a local variable in txr_main.
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; \