mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
fixed serializer test cases
This commit is contained in:
parent
dfd9fa96c9
commit
ae18e7c2b4
1 changed files with 2 additions and 2 deletions
|
@ -69,9 +69,9 @@ public class BacktrackingSemanticSequencer extends AbstractSemanticSequencer {
|
|||
if (o1.getAssignedGrammarElement() == null && o2.getAssignedGrammarElement() == null)
|
||||
return 0;
|
||||
if (o1.getAssignedGrammarElement() == null)
|
||||
return 1;
|
||||
if (o2.getAssignedGrammarElement() == null)
|
||||
return -1;
|
||||
if (o2.getAssignedGrammarElement() == null)
|
||||
return 1;
|
||||
boolean o1Opt = obj.isOptional(o1.getFeatureID());
|
||||
boolean o2Opt = obj.isOptional(o2.getFeatureID());
|
||||
if (o1Opt && o2Opt)
|
||||
|
|
Loading…
Reference in a new issue