Actions
Feature #2169
closed[PATCH] Improvements of Ripper's DummyParser
Status:
Closed
Assignee:
-
Target version:
-
Description
=begin
In order to properly test #1939, this patch makes the following changes:
- Removal scanner events which simply returned the first argument. These are already generated by Ripper.
- Many of the untested parser events had wrong number of arguments. All untested parser events are now automatically generated.
- Basic support for blocks: parse("p { |var| 123 }") # => "[fcall(p,[],&block([var],[123]))]"
These changes are fully backward-compatible, and no tests are affected.
The patch is created by "git diff" and should be applied by "patch -p1 < dummyparser.diff". Please let me know if you need it in another format.
=end
Files
Actions
Like0
Like0