aboutsummaryrefslogtreecommitdiff
path: root/devel/bison2/files/patch-reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bison2/files/patch-reader.c')
-rw-r--r--devel/bison2/files/patch-reader.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/devel/bison2/files/patch-reader.c b/devel/bison2/files/patch-reader.c
deleted file mode 100644
index 92c21a13cc66..000000000000
--- a/devel/bison2/files/patch-reader.c
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/reader.c.orig Thu Feb 7 09:12:44 2002
-+++ src/reader.c Sat Feb 16 19:49:02 2002
-@@ -34,6 +34,8 @@
- #include "reader.h"
- #include "conflicts.h"
-
-+extern int broken_undeftoken_init;
-+
- typedef struct symbol_list
- {
- struct symbol_list *next;
-@@ -1978,7 +1979,10 @@
- It is always token number 2. */
- undeftoken = getsym ("$undefined.");
- undeftoken->class = token_sym;
-- undeftoken->user_token_number = 2;
-+ /* XXX ``broken_undeftoken_init'' makes Bison 1.29 bug-compatable
-+ with Bison 1.25. FreeBSD depends on this behavior when compiling
-+ EGCS-1.1.2's cc1plus. */
-+ undeftoken->user_token_number = broken_undeftoken_init ? 0 : 2;
-
- /* Read the declaration section. Copy %{ ... %} groups to
- TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left,