Skip to content

Commit

Permalink
tools.scaffold: only with-file-vocabs when parsing the string
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Aug 21, 2023
1 parent fcd23b5 commit 562f64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis/tools/scaffold/scaffold.factor
Original file line number Diff line number Diff line change
Expand Up @@ -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 "" = [
Expand Down

0 comments on commit 562f64b

Please sign in to comment.