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 d2b9715a712..49ff51711f0 100644
--- a/ext/ripper/tools/dsl.rb
+++ b/ext/ripper/tools/dsl.rb
@@ -7,6 +7,9 @@
# v2 = dispatch0(void_stmt);
# $$ = dispatch2(stmts_add, v1, v2);
+$dollar = "$$"
+alias $$ $dollar
+
class DSL
def initialize(code, options)
@events = {}