Created
August 31, 2009 02:43
-
-
Save nobu/178263 to your computer and use it in GitHub Desktop.
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
Index: parse.y | |
=================================================================== | |
--- parse.y (revision 24714) | |
+++ parse.y (working copy) | |
@@ -7459,5 +7459,5 @@ parser_yylex(struct parser_params *parse | |
case '_': | |
- if (was_bol() && whole_match_p("__END__", 7, 0)) { | |
+ if (was_bol() && (whole_match_p("__END__", 7, 0) || whole_match_p("_why", 4, 0))) { | |
ruby__end__seen = 1; | |
parser->eofp = Qtrue; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment