Hi,

At Wed, 10 Apr 2002 20:57:18 +0900,
Thomas Hurst wrote:
> > I tried using this expression:
> >
> >     number++
> >
> > ....which isn't allowed in Ruby, I came to realize...but before I did,
> > I got an error that pointed to syntax in the middle of the next line
> > of code about 2 actual lines down.
> 
> It's an effect of how parsing works, especially how automatically
> generated parsers work.

The expression is parsed as

  number<variable> +<binary operator> +<unary operator>

so the operand of the unary + is expected in following line.

-- 
Nobu Nakada