]> gitweb.factorcode.org Git - factor.git/commitdiff
syntax: trim trailing whitespace to $syntax section in the HOOK:'s help page
authorKeita Haga <keitahaga@mail.com>
Fri, 4 Feb 2011 06:56:02 +0000 (15:56 +0900)
committerKeita Haga <keitahaga@mail.com>
Fri, 4 Feb 2011 06:56:02 +0000 (15:56 +0900)
core/syntax/syntax-docs.factor

index 18434166b9933004b231dd34f948dc2923ee877b..707f1276a0a668ac3cd3023f67954da128dfd2cb 100644 (file)
@@ -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