diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-12-02 04:57:52 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-12-02 04:57:52 +0000 |
commit | acf861feb26b6a52b1fc44855d8d7710a0add02c (patch) | |
tree | 5c250227046d0e586d735f3e103702cb64246026 /cad/iverilog | |
parent | bento, mark BROKEN only for CURRENT (diff) |
Fix build with bison 1.75.
Reported by: bento
Notes
Notes:
svn path=/head/; revision=71309
Diffstat (limited to 'cad/iverilog')
-rw-r--r-- | cad/iverilog/files/patch-driver_parse.y | 10 | ||||
-rw-r--r-- | cad/iverilog/files/patch-parse.y | 19 | ||||
-rw-r--r-- | cad/iverilog/files/patch-parse_misc.h | 12 |
3 files changed, 41 insertions, 0 deletions
diff --git a/cad/iverilog/files/patch-driver_parse.y b/cad/iverilog/files/patch-driver_parse.y new file mode 100644 index 000000000000..6838ca0b3fb2 --- /dev/null +++ b/cad/iverilog/files/patch-driver_parse.y @@ -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 diff --git a/cad/iverilog/files/patch-parse.y b/cad/iverilog/files/patch-parse.y new file mode 100644 index 000000000000..47d1930e4d2f --- /dev/null +++ b/cad/iverilog/files/patch-parse.y @@ -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 diff --git a/cad/iverilog/files/patch-parse_misc.h b/cad/iverilog/files/patch-parse_misc.h new file mode 100644 index 000000000000..3753c5a21775 --- /dev/null +++ b/cad/iverilog/files/patch-parse_misc.h @@ -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; + + /* |