[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: C preprocessor style #line support
- From: Lorenzo Donati <lorenzodonatibz@...>
- Date: Fri, 26 Aug 2011 11:14:28 +0200
On 26/08/2011 2.21, Luiz Henrique de Figueiredo wrote:
Unless one is really fond of Rici Lake's templating engine or its
You could actually run Lua files through the C preprocessor for true
It will probably mostly work but note that the C preprocessor does
not understand Lua comments or long strings and will perform macro
substitution on their contents. However, this may be a feature.
Also, cpp will probably choke on any Lua code that uses # in the first
column, but I guess this will be rare :-).