Commit da9097f9 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

make line and pos protected in

rather than private
this allows to adapt line and pos
in derived lexers so that we do not start
parsing at line 0 and position 0.
parent f957a281
......@@ -39,8 +39,8 @@ public class Lexer implements ITokenListContainer
protected State state = State.$2$;
private PushbackReader in;
private int line;
private int pos;
protected int line;
protected int pos;
private boolean cr;
private boolean eof;
private final StringBuffer text = new StringBuffer();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment