]> gitweb.factorcode.org Git - factor.git/commitdiff
help.syntax: allow help.markup to be parsed as a literal.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 15 Dec 2020 17:13:18 +0000 (09:13 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 15 Dec 2020 17:13:18 +0000 (09:13 -0800)
basis/help/syntax/syntax.factor

index a6a02095303bebe3e1dce24e34dabb8face13277..e71d383c1f1f0cbc8f19f5190ece6e6cb86eb7d8 100644 (file)
@@ -14,6 +14,7 @@ IN: help.syntax
         { [ dup parsing-word? ] [
             nip V{ } clone swap execute-parsing first
             dup wrapper? [ wrapped>> \ $link swap 2array ] when ] }
+        { [ dup [ vocabulary>> "help.markup" = ] when ] [ nip ] }
         [ drop ]
     } cond ;