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 08:06
Günther Fiedler is currently offline Günther Fiedler
Messages: 20
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: Thu Apr 17 17:39:00 EDT 2014

Powered by FUDForum. Page generated in 0.01527 seconds