lua-users home
lua-l archive

Re: C preprocessor style #line support

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


Joshua Jensen <josh.jjensen@gmail.com> wrote:
>
> I'm porting scripts from an in-house scripting language to Lua. The in-house
> scripting language uses a lot of C-style #includes and #defines for values.
> Originally, I thought the use of the preprocessor was silly, but as I've
> ported more and more scripts, I've come to realize there are some good uses of
> #define in there.
Sorry this isn't a helpful answer but I would be interested to see some
examples.
Tony.
-- 
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
Shannon, Rockall: North or northwest 5 to 7, decreasing 4 at times. Moderate
or rough, occasionally very rough. Showers. Good.

AltStyle によって変換されたページ (->オリジナル) /