summaryrefslogtreecommitdiff
path: root/ext/ripper/tools/dsl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ripper/tools/dsl.rb')
-rw-r--r--ext/ripper/tools/dsl.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/ripper/tools/dsl.rb b/ext/ripper/tools/dsl.rb
index 0997a09309..3857ec0702 100644
--- a/ext/ripper/tools/dsl.rb
+++ b/ext/ripper/tools/dsl.rb
@@ -19,6 +19,9 @@ class DSL
end
/#{ re }/ =~ s
+ # struct parser_params *p
+ p = "p"
+
@code = eval(code)
end