summaryrefslogtreecommitdiffstats
path: root/php-jakubledl-dissect-fix-redefinition-of-parameter.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-jakubledl-dissect-fix-redefinition-of-parameter.patch')
-rw-r--r--php-jakubledl-dissect-fix-redefinition-of-parameter.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/php-jakubledl-dissect-fix-redefinition-of-parameter.patch b/php-jakubledl-dissect-fix-redefinition-of-parameter.patch
new file mode 100644
index 0000000..2938a03
--- /dev/null
+++ b/php-jakubledl-dissect-fix-redefinition-of-parameter.patch
@@ -0,0 +1,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;
+ });
+