lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > isn't '-' part of the Number terminal?
> 
> No.

In most languages '-' cannot be part of the number terminal, otherwise
an expression like 'x-1' would be read as an identifier (x) followed by
a number (-1).

-- Roberto