lua-users home
lua-l archive

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



Luiz Henrique de Figueiredo wrote:
The only fool-proof way to handle comments in C is to perform lexical analysis,
because /* ... */ might appear inside a string. This cannot be done by pattern
matching.

Ok. Luckily my example was not an example of what I was trying to do. Only badly chosen example. :)

But try this trick:

Thank you.

f