syntax: trim trailing whitespace to $syntax section in the HOOK:'s help page

db4
Keita Haga 2011-02-04 15:56:02 +09:00
parent 4270c6cce6
commit 16d524802a
1 changed files with 1 additions and 1 deletions

View 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