lua-users home
lua-l archive

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

Vincent Penquerc'h wrote:

> In any case, it's possible to use CPP to preprocess Lua
> files before using them. You'll get bogus line numbers
> in Lua error reports, since they'll be based on the
> preprocessed file, but it allows one to use things like
> ASSERT, or what you wrote.
> Sorry if this shocks purists ;)

Ick.  Not only doesn't CPP have access to Lua's run-time information, but
you're assuming the environment even has something like CPP.  In embedded
environments, there may not even be an operating system, much less a CPP