char current= fDocument.getChar(fOffset++);
switch (current) {
+ case '#':
+
+ if (fSkipComments && fOffset < fEnd) {
+ gotoLineEnd();
+ continue;
+ }
+
+ return current;
+
case '/':
if (fSkipComments && fOffset < fEnd) {
fOffset= offset;
return;
}
+ if (current == '#' && fCachedLineOffset <= offset) {
+ fOffset= offset;
+ return;
+ }
}
}
}