summaryrefslogtreecommitdiffstats
path: root/php-jakubledl-dissect-fix-redefinition-of-parameter.patch
blob: 2938a0326766f9f3b80ed68789e2e698b832df35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/Dissect/Parser/LALR1/ArithGrammar.php b/tests/Dissect/Parser/LALR1/ArithGrammar.php
index 51a75f2..5a06c5e 100644
--- a/tests/Dissect/Parser/LALR1/ArithGrammar.php
+++ b/tests/Dissect/Parser/LALR1/ArithGrammar.php
@@ -39,7 +39,7 @@ class ArithGrammar extends Grammar
             })
 
             ->is('(', 'Additive', ')')
-            ->call(function ($_, $e, $_) {
+            ->call(function ($_, $e, $_2) {
                 return $e;
             });