multline: fix docs for /*.

db4
John Benediktsson 2012-09-22 16:45:26 -07:00
parent a7e3a2b024
commit 03a8290da9
2 changed files with 6 additions and 3 deletions

View 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:

View File

@ -49,7 +49,7 @@ SYNTAX: STRING:
0 end (scan-multiline-string)
] if*
] [ end unexpected-eof ] if ;
:: (parse-multiline-string) ( end-text skip-n-chars -- str )
[
lexer get