]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/multiline/multiline-docs.factor
multline: fix docs for /*.
[factor.git] / basis / multiline / multiline-docs.factor
index d22cbdf1ae1263e571708d0d165f21282de7d61b..e34b1679de3544caa39b05ec14c7fcb9f3343e9e 100644 (file)
@@ -7,10 +7,13 @@ HELP: STRING:
 
 HELP: /*
 { $syntax "/* comment */" }
-{ $description "Provides C-like comments that can span multiple lines. One caveat is that " { $snippet "/*" } " and " { $snippet "*/" } " are still tokens and must not abut the comment text itself." }
-{ $code "USING: multiline ;"
+{ $description "Provides C-like comments that can span multiple lines. One caveat is that " { $snippet "/*" } " and " { $snippet "*/" } " are still tokens and must not appear in the comment text itself." }
+{ $examples
+    { $example "USING: multiline ;"
            "/* I think that I shall never see"
            "   A poem lovely as a tree. */"
+            ""
+    }
 } ;
 
 HELP: HEREDOC: