Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318965

Summary: Complex Grammar causes too large parser
Product: [Modeling] TMF Reporter: Andreas Beckers <abeckers>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: moritz.eysholdt
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Andreas Beckers CLA 2010-07-06 04:23:11 EDT
Build Identifier: 3.6 I20100608-0911 xtext 1.0.0.v201006161118

Out Grammar work well in 0.8.0M5 but I tried now to port it to 1.0.0
But I get a compiler error in ...ui.contentassist.antlr.internal with the class InternalApplicationParser (the class extending AbstractInternalContentAssistParser):
The code for the static initializer is exceeding the 65535 bytes limit

Reproducible: Always

Steps to Reproduce:
1. Make a complex grammar with about 600 lines
2. generate
Comment 1 Moritz Eysholdt CLA 2010-07-06 04:44:25 EDT
Did you activate class splitting in your Antlr generator fragment?
Comment 2 Andreas Beckers CLA 2010-07-08 01:24:35 EDT
I haven't been aware of this feature. Now it compiles. Thanks.