1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Allow references to $$ in Ripper DSL

This commit is contained in:
Nobuyoshi Nakada 2020-05-24 20:12:32 +09:00
parent c7ceaa6d3c
commit d32e2bb02d
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -7,6 +7,9 @@
# v2 = dispatch0(void_stmt);
# $$ = dispatch2(stmts_add, v1, v2);
$dollar = "$$"
alias $$ $dollar
class DSL
def initialize(code, options)
@events = {}