Commit 701ae595 authored by Clemens Pflaum's avatar Clemens Pflaum

removed reference to javaSymbol and old javaScanner

parent 1452b712
......@@ -25,15 +25,14 @@ import de.in.tum.www2.cup.ast.IProductionRightPart;
import de.in.tum.www2.cup.ast.LabeledProductionSymbolRef;
import de.in.tum.www2.cup.ast.ParserResult;
import de.in.tum.www2.cup.ast.ProductionRight;
import de.in.tum.www2.java.JavaScanner;
import de.in.tum.www2.java.JavaSymbol;
import de.tum.in.www2.cupplugin.editors.CupTextEditor;
public class JavaTokenScanner implements ITokenScanner {
private ParserResult ast;
private IScanner scanner;
private JavaSymbol last;
//private JavaSymbol last;
private int offset;
private Range previousCodeBlockRange;
......@@ -143,7 +142,7 @@ public class JavaTokenScanner implements ITokenScanner {
this.scanner.setSource(document.get().substring(
offset, offset + length).toCharArray());
this.last = null;
//this.last = null;
this.offset = offset;
if (ast == null) {
......
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