]> gitweb.factorcode.org Git - factor.git/commitdiff
parser: move print-use-hook from parser to vocabs.parser
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 20 Jan 2022 00:34:57 +0000 (18:34 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 20 Jan 2022 02:14:15 +0000 (20:14 -0600)
It's not needed in parser and parser uses vocabs.parser

core/parser/parser.factor
core/vocabs/parser/parser.factor
core/vocabs/vocabs.factor

index 25e5175d13880e5943f2cef091ac851d6be2e14d..1af3423421c755c3142bbe6b54e6fbc1bd76bc3c 100644 (file)
@@ -162,10 +162,6 @@ SYMBOL: bootstrap-syntax
         call
     ] with-manifest ; inline
 
-SYMBOL: print-use-hook
-
-print-use-hook [ [ ] ] initialize
-
 : parse-fresh ( lines -- quot )
     [
         parse-lines
index 6fba66ffd728a7105696f41651f3a3b5f13f0106..2fc9a8f67f62a5201c667fcb50b4f27887a8fba4 100644 (file)
@@ -290,6 +290,10 @@ M: manifest definitions-changed
 
 PRIVATE>
 
+SYMBOL: print-use-hook
+
+print-use-hook [ [ ] ] initialize
+
 : (with-manifest) ( quot manifest -- )
     manifest [
         [ call ] [
index 16cbd5ec652da15171102333a70c2da9dbbb2d9a..3b46d9b9028ed6d3ee4eca0b569e654c1bc46258 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2007, 2009 Eduardo Cavazos, Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs definitions kernel namespaces
-sequences sets sorting splitting strings ;
+USING: accessors assocs definitions kernel namespaces sequences
+sets sorting splitting strings ;
 IN: vocabs
 
 SYMBOL: dictionary