]> gitweb.factorcode.org Git - factor.git/commitdiff
help.syntax: whoops, was making extra spaces
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 18 Aug 2023 05:34:14 +0000 (22:34 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 18 Aug 2023 05:34:14 +0000 (22:34 -0700)
basis/help/syntax/syntax.factor

index e4bbdcc6279e3547c80e6981fc585d613136f535..e4af8bddd40db8eaceb27aec9048feeb7f4bb282 100644 (file)
@@ -47,7 +47,10 @@ DEFER: HELP{
 : ?push-help-space ( accum sbuf obj -- accum sbuf' obj )
     over empty? [
         pick [ f ] [
-            last dup array? [ ?first ] when help-block? not
+            last {
+                [ string? not ]
+                [ dup array? [ ?first ] when help-block? not ]
+            } 1&&
         ] if-empty
     ] [
         over last " (" member? not