Actions
Bug #2763
closedruby-lex hangs if there is no newline at end of file
Status:
Closed
Assignee:
-
ruby -v:
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
Description
=begin
When calling RubyLex.token in a while loop, the parser spins returning TkIDENTIFIER if there is no newline at the end of the file. This bug is related to the following issue in RubyForge: http://rubyforge.org/tracker/?group_id=426&atid=1698&func=detail&aid=1745. This was fixed but seems to be reintroduced in Ruby 1.9.
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
=end
Actions
Like0
Like0Like0