Mercurial > projects > dil
comparison trunk/src/docgen/config/reader.d @ 478:2949146f2781
s-exp comment fix.
author | jm@localhost.localdomain |
---|---|
date | Sun, 11 Nov 2007 16:43:37 +0200 |
parents | 381044a3feac |
children |
comparison
equal
deleted
inserted
replaced
477:3b5421d40f9b | 478:2949146f2781 |
---|---|
61 case 1: continue; | 61 case 1: continue; |
62 case 2: err(i); | 62 case 2: err(i); |
63 } | 63 } |
64 case '#': // starts a comment | 64 case '#': // starts a comment |
65 sidx = i; | 65 sidx = i; |
66 while (input[++sidx] != '\n' && sidx<input.length) {} | 66 while (++sidx<input.length && input[sidx] != '\n') {} |
67 continue; | 67 continue; |
68 case ' ': // whitespace | 68 case ' ': // whitespace |
69 case '\t': | 69 case '\t': |
70 case '\n': | 70 case '\n': |
71 case '(': // begins a block | 71 case '(': // begins a block |