- private Token.Location location = new LocWrap(line, col);
- public Token.Location getLocation() { return location; }
+ private Input.Location location = new LocWrap(line, col);
+ public Input.Location getLocation() { return location; }
public Tok next(int numstates, int resets, int waits) throws IOException {
Tok t = next();
if (t==null) return null;
public Tok next(int numstates, int resets, int waits) throws IOException {
Tok t = next();
if (t==null) return null;
public final int line;
public final int col;
public String toString() { return line + ":" + col; }
public Location(int line, int col) { this.line = line; this.col = col; }
}
public final int line;
public final int col;
public String toString() { return line + ":" + col; }
public Location(int line, int col) { this.line = line; this.col = col; }
}