Mercurial > projects > dil
changeset 64:dd4c5a0e47dd
- Improved while loop.
author | aziz |
---|---|
date | Fri, 29 Jun 2007 18:26:04 +0000 |
parents | c29229fbf2f7 |
children | 6c21ae79fbb3 |
files | trunk/src/Lexer.d |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/src/Lexer.d Fri Jun 29 18:15:01 2007 +0000 +++ b/trunk/src/Lexer.d Fri Jun 29 18:26:04 2007 +0000 @@ -1206,7 +1206,7 @@ if (!isdigit(*p)) error(MID.FloatExponentDigitExpected); else - while (isdigit(*p) || *p == '_') { ++p; } + while (isdigit(*++p) || *p == '_') {} } // Copy string to buffer ignoring underscores.