Project

General

Profile

Bug #5648

irb does not handle recursive heredocs

Added by neleai (Ondrej Bilka) almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[ruby-core:41157]

Description

irb get compile error on following code:
<<A
#{ <<A
A
}
A

Associated revisions

Revision 8f4d0c45
Added by keiju (Keiju Ishitsuka) almost 6 years ago

  • lib/irb/ruby-lex.rb: allow to handle recursive heredocs on irb[Bug #5648].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 38631
Added by keiju (Keiju Ishitsuka) almost 6 years ago

  • lib/irb/ruby-lex.rb: allow to handle recursive heredocs on irb[Bug #5648].

Revision 38631
Added by keiju (Keiju Ishitsuka) almost 6 years ago

  • lib/irb/ruby-lex.rb: allow to handle recursive heredocs on irb[Bug #5648].

Revision 38631
Added by keiju (Keiju Ishitsuka) almost 6 years ago

  • lib/irb/ruby-lex.rb: allow to handle recursive heredocs on irb[Bug #5648].

Revision 38631
Added by keiju (Keiju Ishitsuka) almost 6 years ago

  • lib/irb/ruby-lex.rb: allow to handle recursive heredocs on irb[Bug #5648].

Revision 38631
Added by keiju (Keiju Ishitsuka) almost 6 years ago

  • lib/irb/ruby-lex.rb: allow to handle recursive heredocs on irb[Bug #5648].

History

#1 [ruby-core:43217] Updated by ko1 (Koichi Sasada) over 6 years ago

  • Assignee set to keiju (Keiju Ishitsuka)

#2 Updated by shyouhei (Shyouhei Urabe) over 6 years ago

  • Status changed from Open to Assigned

#3 Updated by keiju (Keiju Ishitsuka) almost 6 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r38631.
Ondrej, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/irb/ruby-lex.rb: allow to handle recursive heredocs on irb[Bug #5648].

Also available in: Atom PDF