
27 Mar
2007
27 Mar
'07
1:36 p.m.
Leo,
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? Regards Hartmut