From 65de18993b33a167fd59edaf9caa7c3bd91024f3 Mon Sep 17 00:00:00 2001 From: Keita Haga Date: Mon, 7 Feb 2011 22:56:50 +0900 Subject: [PATCH] syntax: add stack effect declaration to word definition in usage example of C: syntax --- 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 707f1276a0..2afefe1f2b 100644 --- a/core/syntax/syntax-docs.factor +++ b/core/syntax/syntax-docs.factor @@ -850,7 +850,7 @@ HELP: C: "The following two lines are equivalent:" { $code "C: color" - ": color boa ;" + ": ( red green blue -- color ) color boa ;" } "In both cases, a word " { $snippet "" } " 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." } ;