]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.scaffold: revert previous commit.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 25 Feb 2018 02:01:55 +0000 (18:01 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 25 Feb 2018 02:01:55 +0000 (18:01 -0800)
basis/tools/scaffold/scaffold.factor

index 026eb98ff06b0003b4e1adeaa0df3b0bb9ba6b4e..11deb7acb6145e86d98669c0925847ed5557259d 100644 (file)
@@ -14,7 +14,7 @@ SYMBOL: using
 
 ERROR: not-a-vocab-root string ;
 
-ERROR: vocab-must-not-exist name root ;
+ERROR: vocab-must-not-exist string ;
 
 <PRIVATE
 
@@ -31,7 +31,7 @@ ERROR: vocab-must-not-exist name root ;
     [ check-root ] [ check-vocab-name ] bi* ;
 
 : check-vocab-exists ( string -- string )
-    dup vocab-exists? [ dup find-vocab-root vocab-must-not-exist ] when ;
+    dup vocab-exists? [ vocab-must-not-exist ] when ;
 
 : replace-vocab-separators ( vocab -- path )
     path-separator first CHAR: . associate substitute ; inline