Mercurial > projects > dil
diff trunk/src/dil/Unicode.d @ 747:00f872d949ea
Added method scanCommentText() to DDocEmitter.
Added method writeParams() and scanCodeSection().
Added method scanMacro() to MacroParser.
Made fixes and improvements to the MacroExpander.
Applied other minor fixes.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Mon, 11 Feb 2008 03:15:45 +0100 |
parents | 35184354a502 |
children | 4579e8505d5e |
line wrap: on
line diff
--- a/trunk/src/dil/Unicode.d Sun Feb 10 02:14:08 2008 +0100 +++ b/trunk/src/dil/Unicode.d Mon Feb 11 03:15:45 2008 +0100 @@ -31,13 +31,13 @@ d <= 0x10FFFF && (d & 0xFFFF) >= 0xFFFE; // 34 } -/// Returns true if this is a trail byte of a UTF-8 sequence? +/// Returns: true if this is a trail byte of a UTF-8 sequence. bool isTrailByte(ubyte b) { return (b & 0xC0) == 0x80; // 10xx_xxxx } -/// Returns true if this is a lead byte of a UTF-8 sequence. +/// Returns: true if this is a lead byte of a UTF-8 sequence. bool isLeadByte(ubyte b) { return (b & 0xC0) == 0xC0; // 11xx_xxxx