Mercurial > projects > dil
diff trunk/src/dil/doc/Parser.d @ 786:3b34f6a95a27
Added and revised documenation comments.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 24 Feb 2008 02:41:11 +0100 |
parents | 5e3ef1b2011c |
children |
line wrap: on
line diff
--- a/trunk/src/dil/doc/Parser.d Sat Feb 23 21:15:56 2008 +0100 +++ b/trunk/src/dil/doc/Parser.d Sun Feb 24 02:41:11 2008 +0100 @@ -58,7 +58,7 @@ return idvalues; } - /// Removes trailing whitespace characters from the text body. + /// Returns the text body. Trailing whitespace characters are not included. char[] textBody(char* begin, char* end) { // The body of A is empty, e.g.: @@ -123,6 +123,7 @@ } } +/// Returns a string slice ranging from begin to end. char[] makeString(char* begin, char* end) { assert(begin && end && begin <= end);