|
Re: extending grammar: error in generated Semantic Sequencer? [message #822085 is a reply to message #821890] |
Fri, 16 March 2012 06:36 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Scott,
you may want to set generateStub = false for the SerializerFragment to
true in the workflow that generates your language infrastructure.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 16.03.12 00:39, schrieb Scott Finnie:
> I have two languages, one extending the other.
>
> When I regenerate the extending language there is an error in the
> generated AbstractExtensionSemanticSequencer.java.
>
> Looking into the file, the error is because it references the sequencer
> from the base language incorrectly. Specifically, the generated file
> refers to
>
> BaseSemanticSequencer
> instead of AbstractBaseSemanticSequencer
>
> Manually changing the generated file throughout (i.e. to use
> AbstractBaseSemanticSequencer) removes the error. Of course the file is
> replaced next time the generator is run, re-creating the problem.
>
> The base project appears fine (no errors/warnings, all unit tests run,
> can launch in runtime IDE). The extension project is similarly fine when
> the manual fixes are made.
>
> Any suggestions appreciated...
>
> Thanks.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03539 seconds