From c9c02e726404d1696640697b89962c1c53437f9c Mon Sep 17 00:00:00 2001 From: Keita Haga Date: Fri, 4 Feb 2011 15:56:02 +0900 Subject: [PATCH] syntax: trim trailing whitespace to $syntax section in the HOOK:'s help page --- core/syntax/syntax-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/syntax/syntax-docs.factor b/core/syntax/syntax-docs.factor index 18434166b9..707f1276a0 100644 --- a/core/syntax/syntax-docs.factor +++ b/core/syntax/syntax-docs.factor @@ -716,7 +716,7 @@ HELP: MATH: { $description "Defines a new generic word which uses the " { $link math-combination } " method combination." } ; HELP: HOOK: -{ $syntax "HOOK: word variable ( stack -- effect ) " } +{ $syntax "HOOK: word variable ( stack -- effect )" } { $values { "word" "a new word to define" } { "variable" word } } { $description "Defines a new hook word in the current vocabulary. Hook words are generic words which dispatch on the value of a variable, so methods are defined with " { $link POSTPONE: M: } ". Hook words differ from other generic words in that the dispatch value is removed from the stack before the chosen method is called." } { $examples