aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cad/iverilog/files/patch-driver_parse.y10
-rw-r--r--cad/iverilog/files/patch-parse.y19
-rw-r--r--cad/iverilog/files/patch-parse_misc.h12
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;
+
+ /*