[#7055] More on VC++ 2005 — Austin Ziegler <halostatue@...>

Okay. I've got Ruby compiling. I'm attempting to get everything in

17 messages 2006/01/05
[#7058] Re: More on VC++ 2005 — nobuyoshi nakada <nobuyoshi.nakada@...> 2006/01/06

Hi,

[#7084] mathn: ugly warnings — hadmut@... (Hadmut Danisch)

Hi,

22 messages 2006/01/10
[#7097] Re: mathn: ugly warnings — Daniel Berger <Daniel.Berger@...> 2006/01/10

Hadmut Danisch wrote:

[#7098] Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/10

Daniel Berger wrote:

[#7118] Re: Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/12

*Dean Wampler *<deanwampler gmail.com> writes:

[#7226] Fwd: Re: Question about massive API changes — "Sean E. Russell" <ser@...>

Hello,

23 messages 2006/01/28
[#7228] Re: Question about massive API changes — Caleb Tennis <caleb@...> 2006/01/28

>

[ ruby-Bugs-3361 ] Ruby 1.8.4 parse errors

From: noreply@...
Date: 2006-01-29 16:21:48 UTC
List: ruby-core #7240
Bugs item #3361, was opened at 2006-01-29 17:09
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3361&group_id=426

Category: Core
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Tilman Sauerbeck (tilman)
Assigned to: Nobody (None)
Summary: Ruby 1.8.4 parse errors

Initial Comment:
t = Struct.new("Foo", :hour, :min).new
t.hour = t.min = 1
t_offset = (t.hour * 60 * 60) + t.min *60

=> parse error, unexpected tSTAR, expecting $

Changing the end of the line to
"t.min * 60", ie adding a space after the star makes it compile successfully.

This doesn't only affect the '*' operator, but at least '+' suffers from the same bug.

I believe this was introduced with Ruby 1.8.4, but I'm not sure whether it also existed in previous releases.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3361&group_id=426

In This Thread

Prev Next