Ensure operand is optional: only 0 or 1

master
Raymon Zutekouw 4 years ago committed by Raymon Zutekouw
parent 9c60b4d6ac
commit a967f0649f
  1. 2
      src/grammars/mblf.pest

@ -1,7 +1,7 @@
operator = @{ "operator" } // TODO
operand = @{ "operand" } // TODO
instruction = { operator ~ (" "+ ~ operand)* }
instruction = { operator ~ (" "+ ~ operand)? }
loopBlockStart = { "[" }
loopBlockEnd = { "]" }

Loading…
Cancel
Save