From a1d2d400a1d85714dd2e92336e0ee2214902968e Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Thu, 24 Oct 2002 13:55:31 +0000 Subject: Update to 1.75 PR: 44223 Submitted by: tkato@prontomail.com --- devel/bison1875/files/patch-reader.c | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 devel/bison1875/files/patch-reader.c (limited to 'devel/bison1875/files/patch-reader.c') diff --git a/devel/bison1875/files/patch-reader.c b/devel/bison1875/files/patch-reader.c deleted file mode 100644 index 92c21a13cc66..000000000000 --- a/devel/bison1875/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, -- cgit v1.2.3