[antlr-interest] C-style includes: problem with parser vs. lexer rules

Bjoern Doebel doebel at tudos.org
Mon Aug 27 07:05:10 PDT 2007


Hi,

Kenneth D Weinert wrote:
> This has nothing to do with your parsing question, I just thought that
> I'd point out that your pattern won't match:
> 
> * files or directories with spaces in their name
> * files or directories with dots in their name (aside from the dot prior
>   to the extension)
> * local include files where you use double quotes to delimit the path
>   instead of < and >
> 

true, but I thought, I'd just sort out the other things, before taking care
of this stuff (which is of course necessary).

Bjoern


More information about the antlr-interest mailing list