mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Cosmetics.
This commit is contained in:
parent
97e5359102
commit
003e75e1bb
1 changed files with 2 additions and 1 deletions
|
@ -23,11 +23,13 @@ public class ScannerContext {
|
||||||
|
|
||||||
public ScannerContext() {
|
public ScannerContext() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public ScannerContext initialize(Reader r) {
|
public ScannerContext initialize(Reader r) {
|
||||||
fReader = r;
|
fReader = r;
|
||||||
fOffset = 0;
|
fOffset = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ScannerContext initialize(Reader r, int offset) {
|
public ScannerContext initialize(Reader r, int offset) {
|
||||||
try {
|
try {
|
||||||
r.skip(offset);
|
r.skip(offset);
|
||||||
|
@ -79,5 +81,4 @@ public class ScannerContext {
|
||||||
public void pushUndo(int undo) {
|
public void pushUndo(int undo) {
|
||||||
this.fUndo.push(new Integer(undo));
|
this.fUndo.push(new Integer(undo));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue