summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/spim/files/6.5-parser.patch')
-rw-r--r--app-emulation/spim/files/6.5-parser.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/spim/files/6.5-parser.patch b/app-emulation/spim/files/6.5-parser.patch
new file mode 100644
index 000000000000..83a7c7b63c05
--- /dev/null
+++ b/app-emulation/spim/files/6.5-parser.patch
@@ -0,0 +1,11 @@
+--- parser.y.orig 2004-04-07 09:44:36.000000000 -0400
++++ parser.y 2003-01-04 19:08:59.000000000 -0500
+@@ -1964,7 +1964,7 @@
+ /* Y_INT '-' Y_INT */
+ if ($2.i >= 0)
+ yyerror ("Syntax error");
+- $$.i = $1.i - $2.i;
++ $$.i = $1.i + $2.i;
+ }
+ ;
+