changeset 215:7bc220cdbffc

- Fix: increment p after calling decodeUTF8().
author aziz
date Wed, 25 Jul 2007 18:44:00 +0000
parents 45fc474c1678
children 984d48932bce
files trunk/src/Lexer.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/trunk/src/Lexer.d	Wed Jul 25 08:45:01 2007 +0000
+++ b/trunk/src/Lexer.d	Wed Jul 25 18:44:00 2007 +0000
@@ -582,7 +582,7 @@
         {
 //           char* begin = p;
           dchar d = decodeUTF8();
-
+          ++p;
           if (d == LSd || d == PSd)
             goto case '\n';