]> gitweb.factorcode.org Git - factor.git/commitdiff
turn off autouse for sandboxed code
authorDoug Coleman <erg@jobim.local>
Tue, 21 Apr 2009 06:44:25 +0000 (01:44 -0500)
committerDoug Coleman <erg@jobim.local>
Tue, 21 Apr 2009 06:44:25 +0000 (01:44 -0500)
extra/sandbox/sandbox.factor

index a9d65ee5ab4d7c6b61dba09123c8caea284ae801..097a7c8d8ad605d93ed0518ba790564f41d032de 100644 (file)
@@ -10,7 +10,7 @@ SYMBOL: whitelist
 
 : with-sandbox-vocabs ( quot -- )
     "sandbox.syntax" load-vocab vocab-words 1vector
-    use [ call ] with-variable ; inline
+    use [ auto-use? off call ] with-variable ; inline
 
 : parse-sandbox ( lines assoc -- quot )
     whitelist [ [ parse-lines ] with-sandbox-vocabs ] with-variable ;