summaryrefslogtreecommitdiffstats
path: root/abs/core/gcc/buildfix_new_bison.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gcc/buildfix_new_bison.patch')
-rw-r--r--abs/core/gcc/buildfix_new_bison.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core/gcc/buildfix_new_bison.patch b/abs/core/gcc/buildfix_new_bison.patch
new file mode 100644
index 0000000..01b8880
--- /dev/null
+++ b/abs/core/gcc/buildfix_new_bison.patch
@@ -0,0 +1,22 @@
+--- gcc/treelang/parse.y 2007-07-18 08:19:29.000000000 +0000
++++ gcc/treelang/parse.y.new 2008-11-20 06:40:00.013275486 +0000
+@@ -369,7 +369,6 @@
+ current_function = NULL;
+ }
+ ;
+-
+ variable_defs_opt:
+ /* Nil. */ {
+ $$ = 0;
+@@ -685,9 +684,9 @@
+
+ expressions_with_commas_opt:
+ /* Nil. */ {
+-$$ = 0
++$$ = 0;
+ }
+-|expressions_with_commas { $$ = $1 }
++|expressions_with_commas { $$ = $1; }
+ ;
+
+ expressions_with_commas: