Hey Jim,

> 
>> Without the grammar, or a stack trace or some indication of whether you mean 
>> that the 3.4 tool crashes when generating C, there is nothing I can do to 
>> help you here.
> 

After several hours work I found the problem in the grammar and solved it. It 
was the "handler" rule in line 2740 (the two alternatives ending with limit?). 
Now that I could create the parser file I'm actually surprised about its size. 
This is the biggest source file I have ever seen (31MB, 800K LOC). It 
effectively doubles the size of our code base. And it takes 16 mins to compile. 
Since you seem to be the author of the C target, do you have any advice to get 
this to a smaller size?  800K in a single file is simply crazy.

Mike
-- 
www.soft-gems.net

_______________________________________________
antlr-dev mailing list
antlr-dev@antlr.org
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to