]> gitweb.factorcode.org Git - factor.git/commitdiff
syntax: add stack effect declaration to <color> word definition in usage example...
authorKeita Haga <keitahaga@mail.com>
Mon, 7 Feb 2011 13:56:50 +0000 (22:56 +0900)
committerKeita Haga <keitahaga@mail.com>
Mon, 7 Feb 2011 14:00:30 +0000 (23:00 +0900)
core/syntax/syntax-docs.factor

index 707f1276a0a668ac3cd3023f67954da128dfd2cb..2afefe1f2bf10cc65431df546de1acf879b8a22d 100644 (file)
@@ -850,7 +850,7 @@ HELP: C:
     "The following two lines are equivalent:"
     { $code
         "C: <color> color"
-        ": <color> color boa ;"
+        ": <color> ( red green blue -- color ) color boa ;"
     }
     "In both cases, a word " { $snippet "<color>" } " is defined, which reads three values from the stack and creates a " { $snippet "color" } " instance having these values in the " { $snippet "red" } ", " { $snippet "green" } " and " { $snippet "blue" } " slots, respectively."
 } ;