From: Leo Davis (ldavis_at_[hidden])
Date: 2007-03-27 12:41:03
Hartmut Kaiser wrote:
>>>> I was able to get the behavior I wanted by applying the following
>>>> patch in libs/wave/src/cpplexer/re2clex. I don't know if
>> this is a
>>>> good idea or not. I wasn't able to get something that
>> looked correct
>>>> out of re2c, so I don't have those patched.
>>> I'm not able to reproduce this problem in the CVS::HEAD
>> version. I get
>>> you expected output as you mention above. Have you tried
>> this with the
>>> CVS version?
>> Yes, I updated from CVS::HEAD again today and rebuilt the lib
>> and lexed_tokens. I still get the "invalid character" error
>> for an empty file.
>> I'm using gcc 4.1.2 on Linux 2.6.
> I applied your patch to the *.re files and regenerated the *.inc files. It's
> in Boost CVS::HEAD. Could you verify please?
Sure. I updated from CVS::HEAD and rebuilt lexed_tokens, which works
correctly (like Boost 1.33.1) again. I also rebuilt my static analysis
tool (it's basically a hacked up version of lexed_tokens) and analyzed
my sources and got the same answers as before (minus the "invalid
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk