Commit 0c7bfb52 authored by Johannes Roith's avatar Johannes Roith

enhance lexer.

parent 9bb2f28e
This diff is collapsed.
......@@ -18,8 +18,12 @@ import java.io.InputStreamReader;
public Lexer(ComplexSymbolFactory sf, java.io.InputStream is){
this(is);
symbolFactory = sf;
// new InputStreamReader(System.in);
}
public Lexer(ComplexSymbolFactory sf, java.io.Reader reader){
this(reader);
symbolFactory = sf;
}
private StringBuffer sb;
private ComplexSymbolFactory symbolFactory;
private int csline,cscolumn;
......
Markdown is supported
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