]> gitweb.factorcode.org Git - factor.git/commitdiff
vocabs.loader: unset main, fixes a refresh issue
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 17 May 2023 20:02:25 +0000 (13:02 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 17 May 2023 20:02:25 +0000 (13:02 -0700)
core/vocabs/loader/loader.factor

index 458bfc401628d4c98a250541bf7e4fe5aaeff0a0..44a027d18f445a671d39ffa6cb9f54805f8450ae 100644 (file)
@@ -115,6 +115,7 @@ require-when-table [ V{ } clone ] initialize
 : load-source ( vocab -- )
     dup check-vocab-hook get call( vocab -- )
     [
+        f >>main
         +parsing+ >>source-loaded?
         dup vocab-source-path [ parse-file ] [ [ ] ] if*
         [ +parsing+ >>source-loaded? ] dip