mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
fixed a bug, thx to Ed Willink for code review.
This commit is contained in:
parent
3ce0d96106
commit
750f07ad9f
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class BacktrackingSemanticSequencer extends AbstractSemanticSequencer {
|
|||
if (o2.getAssignedGrammarElement() == nodeModelEle)
|
||||
return 1;
|
||||
}
|
||||
if (o1.getAssignedGrammarElement() == null && o1.getAssignedGrammarElement() == null)
|
||||
if (o1.getAssignedGrammarElement() == null && o2.getAssignedGrammarElement() == null)
|
||||
return 0;
|
||||
if (o1.getAssignedGrammarElement() == null)
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue