diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-20 05:39:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-20 05:39:03 +0000 |
commit | 0b8594209dfb536ee56269276c12d38ee4b85fcf (patch) | |
tree | f15b4bfff20cecc6af9c7c48c723afb9e6e4e2ab /ext/ripper/tools/dsl.rb | |
parent | b5be3e78938ba17d389df1c8f4bdbcc8b4c73550 (diff) | |
download | ruby-0b8594209dfb536ee56269276c12d38ee4b85fcf.tar.gz |
dsl.rb: p
* ext/ripper/tools/dsl.rb (DSL#initialize): define `p` for `struct
parser_params *p`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper/tools/dsl.rb')
-rw-r--r-- | ext/ripper/tools/dsl.rb | 3 |
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 |