Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Renamed ruby_parser.y to ruby19_parser.y
+ Added RubyParser, subclassing Ruby18Parser but warning on instantiation. + Added ruby_parser.rb that pulls everything together in proper order. + RubyLexer now takes a version specifier. - Fixed lexing of ?c for ruby 1.8 and 1.9. + Moved everything from RubyParser to RubyParserStuff and included module in both. - Duplicate the input so that heredoc processing doesn't morph original. (banister) + Added more 18 vs 19 lexing tests for ?c. + Refactored tests infrastructure and added both 1.8 and 1.9 test branches. [git-p4: depot-paths = "//src/ruby_parser/dev/": change = 6709]
- Loading branch information
Showing
9 changed files
with
136 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters