]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.crossref: don't include generic words in usage lists, since the results are...
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 19 Feb 2010 23:05:52 +0000 (12:05 +1300)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 19 Feb 2010 23:05:52 +0000 (12:05 +1300)
basis/tools/crossref/crossref.factor

index 3bdf2f83ae589a46148f8849d8c7255d4c186ca0..50034822b20b4b48f1b3c3a06ec9ece064c874eb 100644 (file)
@@ -71,7 +71,7 @@ M: word crossref-def
 
 : defs-to-crossref ( -- seq )
     [
-        all-words
+        all-words [ generic? not ] filter
         all-articles [ >link ] map
         source-files get keys [ <pathname> ] map
     ] append-outputs ;