]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/parser-combinators/parser-combinators.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / extra / parser-combinators / parser-combinators.factor
index 814821fba963888825ea4cf53ed9b1d38539ea4d..7a73561e56fbbdfaf2c1f436ef95ce570d0c2110 100755 (executable)
@@ -339,7 +339,7 @@ LAZY: surrounded-by ( parser start end -- parser' )
         2drop epsilon
     ] [
         2dup exactly-n
-        -rot 1- at-most-n <|>
+        -rot 1 - at-most-n <|>
     ] if ;
 
 : at-least-n ( parser n -- parser' )