[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: scrapping the preprocessor
- From: "Vincent Penquerc'h" <vincent@...>
- Date: Wed, 30 Aug 2000 17:51:12 +0100
> A feature of the preprocessor I use often is taken from the current FAQ,
> section 3.6:
> $if modulename
> I use this quite a bit and would like to know what the equivalent
> will be under the next version of Lua.
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 ;)