[#4654] signleton_methods / methods / public_methods - weirdness? — Johan Holmberg <holmberg@...>
[#4666] Getting a hex representation for a Numeric — "Zev Blut" <rubyzbibd@...>
Hello,
[#4670] ruby 1.8.3 preview1 plan — Yukihiro Matsumoto <matz@...>
Hi,
[#4690] test failures for stable-snapshot 09/04/2005 — noreply@...
Bugs item #1762, was opened at 10-04-2005 20:46
Hello.
[#4709] BNF-like grammar specified DIRECTLY in Ruby — Eric Mahurin <eric_mahurin@...>
Hello everybody,
[#4712] Segfault in zlib? — Nathaniel Talbott <ntalbott@...>
I'm using rubyzip (latest gem version) and zlib (1.2.2) to do a bunch
[#4736] Trivial speedup in Array#zip — Mauricio Fern疣dez <batsman.geo@...>
[#4745] Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...>
Having taken upon me the task to provide a Windows build for
On 4/20/05, Erik Huelsmann <ehuels@gmail.com> wrote:
Hi Austin,
Hi,
On 4/24/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:
Hi,
> > > Ruby is just using AC_TYPE_UID_T. So, using typedef for them,
Hi,
On 4/26/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:
As promised, I attached a patch to eliminate the compile problems
Hi,
Thanks for the quick response!
Hi,
On 5/14/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:
[#4751] Illegal regexp causes segfault — Andrew Walrond <andrew@...>
irb(main):058:0> a = /\[([^]]*)\]/
Andrew Walrond, April 22:
In article <200504221210.38231.andrew@walrond.org>,
>>>>> "T" == Tanaka Akira <akr@m17n.org> writes:
[#4774] enhanced $0 modification — Evan Webb <evanwebb@...>
The attached patch allows for ruby to use more of the available stack
Hi,
[#4775] profiler.rb Schroedinbug — C Erler <erlercw@...>
A ruby program with the single instruction "require 'profile'"
>A ruby program with the single instruction "require 'profile'"
[#4807] Re: -Wall — Vincent Isambart <vincent.isambart@...>
> Why does ruby build without -Wall in CFLAGS by default? -Wall can help to
[#4815] Re: -Wall — nobu.nokada@...
Hi,
[ ruby-Bugs-1745 ] ruby-lex hangs if there is no newline at end of file
Bugs item #1745, was opened at 2005-04-06 22:43
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1745&group_id=426
Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gunther Schmidl (gschmidl)
Assigned to: Nobody (None)
Summary: ruby-lex hangs if there is no newline at end of file
Initial Comment:
When using RubyParser.parse to parse *.rb files for gettext strings, I noticed that ruby-lex would go into an endless loop trying to fetch the last token when there was no newline at the end of a file.
Output when hitting Ctrl-Break:
Processing app/controllers/account_controller.rb
C:/programme/ruby/lib/ruby/1.8/irb/ruby-lex.rb:847:in `identify_identifier': In
errupt
from C:/programme/ruby/lib/ruby/1.8/irb/ruby-lex.rb:711:in `lex_int2'
from C:/programme/ruby/lib/ruby/1.8/irb/ruby-lex.rb:705:in `call'
from C:/programme/ruby/lib/ruby/1.8/irb/slex.rb:234:in `match_io'
from C:/programme/ruby/lib/ruby/1.8/irb/slex.rb:73:in `match'
from C:/programme/ruby/lib/ruby/1.8/irb/ruby-lex.rb:280:in `token'
from C:/programme/ruby/lib/ruby/site_ruby/1.8/gettext/parser/ruby.rb:27
in `token'
from C:/programme/ruby/lib/ruby/site_ruby/1.8/gettext/parser/ruby.rb:15
:in `parse_lines'
from C:/programme/ruby/lib/ruby/site_ruby/1.8/gettext/parser/ruby.rb:14
:in `parse'
from C:/programme/ruby/lib/ruby/site_ruby/1.8/gettext/parser/ruby.rb:13
:in `each'
from C:/programme/ruby/lib/ruby/site_ruby/1.8/gettext/parser/ruby.rb:13
:in `parse'
from ./script/rgettext.rb:63:in `start'
from ./script/rgettext.rb:51:in `each'
from ./script/rgettext.rb:51:in `start'
from script/localize:31
Output from lexer via ruby -d:
Processing app/controllers/account_controller.rb
#<RubyToken::TkCLASS:0x2e05f28>
#<RubyToken::TkCONSTANT:0x2e04f98>
#<RubyToken::TkLT:0x2e047e8>
#<RubyToken::TkCONSTANT:0x2e03ae0>
#<RubyToken::TkNL:0x2e037b0>
#<RubyToken::TkEND:0x2e030f0>
#<RubyToken::TkIDENTIFIER:0x2e02b50>: d
#<RubyToken::TkIDENTIFIER:0x2e02580>: d
#<RubyToken::TkIDENTIFIER:0x2e01fe0>: d
#<RubyToken::TkIDENTIFIER:0x2e01a40>: d
#<RubyToken::TkIDENTIFIER:0x2e01470>: d
#<RubyToken::TkIDENTIFIER:0x2e00eb8>: d
#<RubyToken::TkIDENTIFIER:0x2e00948>: d
#<RubyToken::TkIDENTIFIER:0x2e003c0>: d
#<RubyToken::TkIDENTIFIER:0x2dffe38>: d
(continues in this vein forever, with the hex number changing)
Adding a newline at the end of the file fixes this problem.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1745&group_id=426