]> gitweb.factorcode.org Git - factor.git/commitdiff
syntax: slightly to fix examples of QUALIFIED: and QUALIFIED-WITH:
authorKeita Haga <keitahaga@mail.com>
Sat, 18 Dec 2010 16:07:34 +0000 (01:07 +0900)
committerKeita Haga <keitahaga@mail.com>
Sat, 18 Dec 2010 16:16:54 +0000 (01:16 +0900)
core/syntax/syntax-docs.factor

index 512e2de61a896500faba02096b13a82639262422..059fa487bc12cb7616ec5ea9a9cc5516c33b1772 100644 (file)
@@ -533,13 +533,14 @@ HELP: QUALIFIED:
 { $examples { $example
     "USING: prettyprint ;"
     "QUALIFIED: math"
-    "1 2 math:+ ." "3"
+    "1 2 math:+ ."
+    "3"
 } } ;
 
 HELP: QUALIFIED-WITH:
 { $syntax "QUALIFIED-WITH: vocab word-prefix" }
 { $description "Like " { $link POSTPONE: QUALIFIED: } " but uses " { $snippet "word-prefix" } " as prefix." }
-{ $examples { $code
+{ $examples { $example
     "USING: prettyprint ;"
     "QUALIFIED-WITH: math m"
     "1 2 m:+ ."