]> gitweb.factorcode.org Git - factor.git/commitdiff
parser: fix bad refactor
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 25 Feb 2023 19:13:29 +0000 (13:13 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 26 Feb 2023 23:11:04 +0000 (17:11 -0600)
core/parser/parser.factor

index 5d9901440e4e94c2da7b45e6f795741f613fac24..38e78b7ab832a39802804238a868fdb1f2f752c0 100644 (file)
@@ -34,7 +34,7 @@ SYMBOL: auto-use?
 : private? ( word -- ? ) vocabulary>> ".private" tail? ;
 
 : use-first-word? ( words -- ? )
-    [ length 1 = ] [ ?first dup or* [ private? not ] unless ] bi and
+    [ length 1 = ] [ ?first dup or* [ private? not ] when ] bi and
     auto-use? get and ;
 
 ! True branch is a singleton public word with no name conflicts