summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-19 18:48:29 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-19 18:48:29 +0000
commit0ad4ae91ea6c9c489946a390b231e90c1bf9eedd (patch)
treedb69adc6e49ab76aba51a7cb4cf76f74f3784039 /parse.y
parent44abd808658570a65df2adca678c746aa0356960 (diff)
* parse.y [ripper]: spaces before heredoc marker was lost.
* keywords: rb_reserved_word() should be defined only in ruby core. * lex.c: sync with keywords. * ext/ripper/ripper.rb.in (parse): fix typo. * ext/ripper/lib/ripper.rb: sync with ripper.rb.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 0976d367c7..e749d49cd3 100644
--- a/parse.y
+++ b/parse.y
@@ -5046,6 +5046,7 @@ parser_heredoc_identifier(parser)
tokfix();
#ifdef RIPPER
+ ripper_dispatch_space(parser);
ripper_dispatch_nonspace(parser, tHEREDOC_BEG);
#endif
len = lex_p - lex_pbeg;