lua-users home
lua-l archive

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

> 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