]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.scaffold: only with-file-vocabs when parsing the string
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 21 Aug 2023 17:29:19 +0000 (10:29 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 21 Aug 2023 17:29:19 +0000 (10:29 -0700)
basis/tools/scaffold/scaffold.factor

index 3de7a9a7f8281f7dbb5aff81b14e3dbbba36715e..fe306121ba44511fd3d37a32752083f9b5159ee6 100644 (file)
@@ -409,7 +409,7 @@ ${example-indent}}
     " " glue ;
 
 : run-string ( string -- datastack )
-    [ parse-string V{ } clone swap with-datastack ] with-file-vocabs ; inline
+    [ parse-string ] with-file-vocabs V{ } clone swap with-datastack ;
 
 : read-unit-test ( -- str/f )
     read-contents dup "" = [