buffer = new char[buffersize];
bufline = new int[buffersize];
bufcolumn = new int[buffersize];
- beginOffset = 1;
- endOffset = 1;
+ beginOffset = 0;
+ endOffset = 0;
}
tokenBegin = inBuf = maxNextCharInd = 0;
bufpos = -1;
position = 0;
- beginOffset = 1;
- endOffset = 1;
+ beginOffset = 0;
+ endOffset = 0;
}
public void ReInit(java.io.Reader dstream, int startline,
column = bufcolumn[j];
}
- //hack
+ /**
+ * @deprecated
+ * @return
+ */
public static int getPosition() {
return position + bufpos;
}