[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: scrapping the preprocessor
- From: "John Passaniti" <jmp@...>
- Date: Wed, 30 Aug 2000 14:02:31 -0400
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
available!