lua-users home
lua-l archive

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


Dave Dodge wrote:
Is that a string-literal or a header-name token?  It matches the
syntax for both.  The only way to know which one you've got is to
examine the preceding tokens to see if this is part of an #include
directive, even though preprocessing directives aren't really supposed
to be dealt with until phase 4.

Really? I am not a compiler expert, far from it, but as a C programmer I thought preprocessing phase takes place before anything else. In early compilers, it could even be done by a separate processor, IIRC.
I don't contest your knowledge, I just find this surprising.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --