Ensure operand is optional: only 0 or 1
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
operator = @{ "operator" } // TODO
|
operator = @{ "operator" } // TODO
|
||||||
operand = @{ "operand" } // TODO
|
operand = @{ "operand" } // TODO
|
||||||
|
|
||||||
instruction = { operator ~ (" "+ ~ operand)* }
|
instruction = { operator ~ (" "+ ~ operand)? }
|
||||||
|
|
||||||
loopBlockStart = { "[" }
|
loopBlockStart = { "[" }
|
||||||
loopBlockEnd = { "]" }
|
loopBlockEnd = { "]" }
|
||||||
|
|||||||
Reference in New Issue
Block a user