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