This commit is contained in:
Clément Fournier
2020-01-13 01:49:33 +01:00
parent 83e86c20c5
commit 4552c04a74
6 changed files with 12 additions and 11 deletions

View File

@ -28,8 +28,8 @@ public class CppCharStream extends SimpleCharStream {
private static final char NEWLINE = '\n';
private static final char CARRIAGE_RETURN = '\r';
public CppCharStream(String fulltext, JavaccTokenDocument document) {
super(fulltext, document);
public CppCharStream(JavaccTokenDocument document) {
super(document);
}
@ -76,6 +76,6 @@ public class CppCharStream extends SimpleCharStream {
: null;
}
};
return new CppCharStream(source, document);
return new CppCharStream(document);
}
}