Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Expression Grammar [fatal] Error
Expression Grammar [fatal] Error [message #1064855] Fri, 21 June 2013 12:06
Günther Fiedler is currently offline Günther FiedlerFriend
Messages: 21
Registered: February 2013
Junior Member

I´m having problems with my NOTExpression-Rule.

NotExpression returns Expression:
BitwiseXORExpression| ({NotExpression} '!' operand = BitwiseXORExpression)
BitwiseXORExpression returns Expression:
BitwiseORExpression ({BitwiseXORExpression.leftOperand=current}'^' rightOperand = BitwiseORExpression)*

By Generating the Xtext Artifacts i get this error:

[fatal] rule ruleNotExpression has non-LL(*) decision due to recursive rule invocations reachable from alts 1,2. Resolve by left-factoring or using syntactic predicates or using backtrack=true option.

Previous Topic:How to test global scoping / xtext index
Next Topic:GeneratorRegistry unleashed :-)
Goto Forum:

Current Time: Fri Apr 20 20:22:21 GMT 2018

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

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