Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Inconsistent error markers
Inconsistent error markers [message #628651] Thu, 23 September 2010 14:33 Go to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

I'm receiving strange error markers in the generated internal antlr
parser used by contentassist.

I get an error marker on the method call getOR_OPAccess() in the first
of these lines (The method getOR_OPAccess() is undefined for the type
ScxmlxtGrammarAccess), but not the last. I can't see how they differ???

before(grammarAccess.getOR_OPAccess().getVerticalLineVertica lLineKeyword());

match(input,19,FOLLOW_19_in_ruleOR_OP1966);
after(grammarAccess.getOR_OPAccess().getVerticalLineVertical LineKeyword());

If I press F3 I end up in the same place, the method really is there. I
get the feeling the class/method is so big that the compiler is confused
or something. Has anyone seen this occur before?

Hallvard
Re: Inconsistent error markers [message #628724 is a reply to message #628651] Thu, 23 September 2010 19:03 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Hallvard,

I've experienced similar issues with generated classes that implement
more than 100 interfaces. Incremental compilation seemed to get stuck
while a clean build could compile these synthetics testcases. Maybe you
are facing similar problems. Do the guys in the JDT newsgroup have a
clue about this?

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 23.09.10 16:33, schrieb Hallvard Trætteberg:
> Hi,
>
> I'm receiving strange error markers in the generated internal antlr
> parser used by contentassist.
>
> I get an error marker on the method call getOR_OPAccess() in the first
> of these lines (The method getOR_OPAccess() is undefined for the type
> ScxmlxtGrammarAccess), but not the last. I can't see how they differ???
>
> before(grammarAccess.getOR_OPAccess().getVerticalLineVertica lLineKeyword());
>
> match(input,19,FOLLOW_19_in_ruleOR_OP1966);
> after(grammarAccess.getOR_OPAccess().getVerticalLineVertical LineKeyword());
>
> If I press F3 I end up in the same place, the method really is there. I
> get the feeling the class/method is so big that the compiler is confused
> or something. Has anyone seen this occur before?
>
> Hallvard
Previous Topic:Cross reference to INT
Next Topic:Project wizard in exported plug-ins
Goto Forum:
  


Current Time: Thu Sep 19 12:21:18 GMT 2024

Powered by FUDForum. Page generated in 0.03858 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top