File tree Expand file tree Collapse file tree
test/java/ca/teamdman/sfml Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ label : (identifier) #RawLabel
150150
151151emptyslots : EMPTY (SLOTS | SLOT ) IN ;
152152
153- identifier : (IDENTIFIER | REDSTONE | GLOBAL | SECOND | SECONDS ) ;
153+ identifier : (IDENTIFIER | REDSTONE | GLOBAL | SECOND | SECONDS | TOP | BOTTOM | LEFT | RIGHT | FRONT | BACK ) ;
154154
155155// GENERAL
156156string : STRING ;
Original file line number Diff line number Diff line change @@ -687,6 +687,18 @@ public void quotedLabels() {
687687 );
688688 }
689689
690+ @ Test
691+ public void relativeDirectionLabels () {
692+ assertNoCompileErrors (
693+ """
694+ every 20 ticks do
695+ input from left right, null side
696+ output to right left, top side
697+ end
698+ """
699+ );
700+ }
701+
690702 @ Test
691703 public void basicResourceIdentifier () {
692704 var identifier = ResourceIdentifier .fromString ("wool" );
You can’t perform that action at this time.
0 commit comments