changeset 478:2949146f2781

s-exp comment fix.
author jm@localhost.localdomain
date Sun, 11 Nov 2007 16:43:37 +0200
parents 3b5421d40f9b
children 044b5393f8bc
files trunk/src/docgen/config/reader.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/trunk/src/docgen/config/reader.d	Sat Nov 10 23:50:09 2007 +0100
+++ b/trunk/src/docgen/config/reader.d	Sun Nov 11 16:43:37 2007 +0200
@@ -63,7 +63,7 @@
         }
       case '#': // starts a comment
         sidx = i;
-        while (input[++sidx] != '\n' && sidx<input.length) {}
+        while (++sidx<input.length && input[sidx] != '\n') {}
         continue;
       case ' ': // whitespace
       case '\t':