1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Fix build with bison 1.75.

Reported by:	bento
This commit is contained in:
Joe Marcus Clarke 2002-12-02 04:57:52 +00:00
parent 080b15c45c
commit acf861feb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71309
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- driver/parse.y.orig Mon Dec 2 00:00:22 2002
+++ driver/parse.y Mon Dec 2 00:00:33 2002
@@ -133,6 +133,7 @@
%%
start: section_list
+ ;
section_list
: section

View File

@ -0,0 +1,19 @@
--- parse.y.orig Tue Jan 22 22:35:17 2002
+++ parse.y Sun Dec 1 23:59:12 2002
@@ -831,7 +831,7 @@
tmp->set_file(@1.text);
tmp->set_lineno(@1.first_line);
$$ = tmp;
- delete $1
+ delete $1;
}
| identifier '[' expression ']'
{ PEIdent*tmp = new PEIdent(*$1);
@@ -1046,6 +1046,7 @@
delete $3;
$$ = tmp;
}
+ ;
list_of_ports
: port_opt

View File

@ -0,0 +1,12 @@
--- parse_misc.h.orig Sun Dec 1 23:51:26 2002
+++ parse_misc.h Sun Dec 1 23:56:43 2002
@@ -38,6 +38,9 @@
const char*text;
};
# define YYLTYPE vlltype
+#ifndef yylloc
+#define yylloc VLlloc
+#endif
extern YYLTYPE yylloc;
/*