]> gitweb.factorcode.org Git - factor.git/commitdiff
syntax: auto-use should set the global namespace so it works with the
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 3 Jan 2022 04:41:03 +0000 (22:41 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 3 Jan 2022 04:41:46 +0000 (22:41 -0600)
command-line listener

core/syntax/syntax.factor

index ee56d0ac9d9134d9ab3e838db7caa634ae2224ba..31001ea19cc81ec9fb791ba075cf1b08fe53f070 100644 (file)
@@ -107,7 +107,7 @@ IN: bootstrap.syntax
     "POSTPONE:" [ scan-word suffix! ] define-core-syntax
     "\\" [ scan-word <wrapper> suffix! ] define-core-syntax
     "M\\" [ scan-word scan-word lookup-method <wrapper> suffix! ] define-core-syntax
-    "auto-use" [ auto-use? on ] define-core-syntax
+    "auto-use" [ t auto-use? set-global ] define-core-syntax
     "delimiter" [ last-word t "delimiter" set-word-prop ] define-core-syntax
     "deprecated" [ last-word make-deprecated ] define-core-syntax
     "flushable" [ last-word make-flushable ] define-core-syntax