diff --git a/basis/tools/scaffold/scaffold.factor b/basis/tools/scaffold/scaffold.factor index 003c90e14c..762dcd6d25 100644 --- a/basis/tools/scaffold/scaffold.factor +++ b/basis/tools/scaffold/scaffold.factor @@ -17,12 +17,7 @@ ERROR: not-a-vocab-root string ; path ( vocab -- path ) - check-vocab - [ find-vocab-root ] keep vocab-root/vocab>path ; + check-vocab [ find-vocab-root ] keep vocab-root/vocab>path ; : vocab-root/vocab/file>path ( vocab-root vocab file -- path ) [ vocab-root/vocab>path ] dip append-path ; @@ -147,12 +141,9 @@ M: string add-using drop ; M: object add-using ( object -- ) vocabulary>> using get [ adjoin ] [ drop ] if* ; -: 4bl ( -- ) - " " write ; inline - : ($values.) ( array -- ) [ - 4bl + " " write [ bl ] [ "{ " write dup array? [ first ] when @@ -186,16 +177,13 @@ M: object add-using ( object -- ) ] when* ; : class-description. ( word -- ) - drop - "{ $class-description \"\" } ;" print ; + drop "{ $class-description \"\" } ;" print ; : symbol-description. ( word -- ) - drop - "{ $var-description \"\" } ;" print ; + drop "{ $var-description \"\" } ;" print ; : $description. ( word -- ) - drop - "{ $description \"\" } ;" print ; + drop "{ $description \"\" } ;" print ; : docs-body. ( word/symbol -- ) {