lua-users home
lua-l archive

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


Hi,

oh well ... needed to fix a few things:

- The non C99 fallback for luaO_str2d should handle a few
  more cases (which the lexer didn't need).

- Exponents for hex FP numbers are only decimal.

The modified patch is available at:

http://lua-users.org/files/wiki_insecure/users/MikePall/lua51alpha-hex2.patch


BTW: Has anyone noticed that the following:

  x=1y=2print(x,y)

is accepted by the lexer as valid Lua code (with or without
my patch)?

I guess most tools parsing Lua files won't handle this
(vim syntax highlighting doesn't).

Bye,
     Mike