lua-users home
lua-l archive

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


> In the latest (beta) release of Lua I notice the textual output for both
> floating and integer number formats remains <number> (llex.c line 44).
> 
> Would it not make more sense to change these to <integer> and <float> to
> more correctly indicate in error messages which number type was used?
> Or perhaps just change the integer one and leave floating as <number>?

Actually, those formats are never used (numbers are shown as themselves,
like '45'), but that is not very clear in the code. We will correct that.

-- Roberto