summaryrefslogtreecommitdiff
path: root/ext/ripper/lib
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-14 10:05:29 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-14 10:05:29 +0000
commitdd82fb6393e8a4b5bc5b9fa6abfa0730c29e60c2 (patch)
treea283c9952e15974f05910c9f6adf0372c5154b2a /ext/ripper/lib
parentaf759b81a1ed2fb2c932b7d10b31f6e8d7397f5b (diff)
* parse.y [ripper] (regexp): dispatch regexp option. [ruby-Bugs:1688]
* ext/ripper/lib/core.rb: regenerated (interface changed). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper/lib')
-rw-r--r--ext/ripper/lib/ripper/core.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ripper/lib/ripper/core.rb b/ext/ripper/lib/ripper/core.rb
index e936783..b362d30 100644
--- a/ext/ripper/lib/ripper/core.rb
+++ b/ext/ripper/lib/ripper/core.rb
@@ -97,7 +97,7 @@ class Ripper
:qwords_add => 2,
:qwords_new => 0,
:redo => 0,
- :regexp_literal => 1,
+ :regexp_literal => 2,
:rescue => 4,
:rescue_mod => 2,
:restparam => 1,
@@ -525,7 +525,7 @@ class Ripper
nil
end
- def on_regexp_literal(a)
+ def on_regexp_literal(a, b)
a
end