mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
temporary fix for missing SynStateType for new elements in
SyntacticSequencer
This commit is contained in:
parent
b4deb67876
commit
365de63327
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,7 @@ import org.eclipse.xtext.Assignment;
|
|||
import org.eclipse.xtext.EnumRule;
|
||||
import org.eclipse.xtext.Grammar;
|
||||
import org.eclipse.xtext.GrammarUtil;
|
||||
import org.eclipse.xtext.JavaAction;
|
||||
import org.eclipse.xtext.Keyword;
|
||||
import org.eclipse.xtext.ParserRule;
|
||||
import org.eclipse.xtext.RuleCall;
|
||||
|
@ -652,6 +653,9 @@ public class SyntacticSequencerPDAProvider implements ISyntacticSequencerPDAProv
|
|||
} else if (ele instanceof AbstractSemanticPredicate) {
|
||||
// TODO sem-predicates: Do something useful here.
|
||||
return SynStateType.ASSIGNED_ACTION_CALL;
|
||||
} else if (ele instanceof JavaAction) {
|
||||
// TODO sem-predicates: Do something useful here.
|
||||
return SynStateType.ASSIGNED_ACTION_CALL;
|
||||
} else if (GrammarUtil.containingCrossReference(ele) != null) {
|
||||
if (ele instanceof RuleCall) {
|
||||
RuleCall rc = (RuleCall) ele;
|
||||
|
|
Loading…
Reference in a new issue