Re: [ANN] Lua 5.3.0 (beta) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (beta) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2014年10月24日 09:30:52 -0200
> One thing I noticed in the diff file from alpha to beta is that the quoting macros have been removed.
>
> Just curious about the reasoning behind the removal of LUA_QL and LUA_QS? I did not change either macro, however, I was extending the functionality they provided with a couple of my own macros.
It seemed too complexity for little benefit. Compare:
< lua_pushfstring(L, "\n\tno module " LUA_QS " in file " LUA_QS,
< name, filename);
---
> lua_pushfstring(L, "\n\tno module '%s' in file '%s'", name, filename);
I guess everybody can live with 'filename' in their Lua error messages.
-- Roberto