--- dfilter.d.orig Tue Apr 12 17:58:30 2005 +++ dfilter.d Tue Apr 12 18:00:29 2005 @@ -108,13 +108,13 @@ // Print all text to this point, and set previous to the current point void flush(char* p) { - fwrite(previous, cast(int) (p - previous), 1, stdout); + std.c.stdio.fwrite(previous, cast(int) (p - previous), 1, stdout); previous = current; } // Print all text to a set point, which becomes the new previous point void flushTo(char* p) { - fwrite(previous, cast(int) (p - previous), 1, stdout); + std.c.stdio.fwrite(previous, cast(int) (p - previous), 1, stdout); previous = p; } @@ -342,7 +342,7 @@ } else { flush(ptoken); } - currentAttr = currentBlockAttr = attrStack[$-1]; + currentAttr = currentBlockAttr = attrStack[attrStack.length-1]; attrStack.length = attrStack.length - 1; readingContent = false; break;