diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-10-24 13:55:31 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-10-24 13:55:31 +0000 |
commit | a1d2d400a1d85714dd2e92336e0ee2214902968e (patch) | |
tree | e41487beb9abc7da21e7a81c5994a15917ecf244 /devel/bison1875/files/patch-reader.c | |
parent | Update to 10.11 (diff) |
Update to 1.75
PR: 44223
Submitted by: tkato@prontomail.com
Notes
Notes:
svn path=/head/; revision=68733
Diffstat (limited to 'devel/bison1875/files/patch-reader.c')
-rw-r--r-- | devel/bison1875/files/patch-reader.c | 23 |
1 files changed, 0 insertions, 23 deletions
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, |