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 Fiedler
Messages: 21
Registered: February 2013
Junior Member
Hello,

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: Wed Oct 01 12:18:18 GMT 2014

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

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