Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/BacktrackException.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/BacktrackException.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/BacktrackException.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/BacktrackException.java
index aac191b59e3..5c28988da0b 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/BacktrackException.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/BacktrackException.java
@@ -23,11 +23,11 @@ public class BacktrackException extends Exception {
private IASTProblem problem;
private IASTNode nodeBeforeProblem; // a node has been created in spite of the problem.
- private int offset, length;
-
- public BacktrackException() {
+ private int offset, length;
+
+ public BacktrackException() {
}
-
+
public BacktrackException(BacktrackException e) {
problem= e.problem;
nodeBeforeProblem= e.nodeBeforeProblem;
@@ -47,7 +47,7 @@ public class BacktrackException extends Exception {
}
/**
- *
+ *
*/
private void reset() {
nodeBeforeProblem= null;
@@ -61,12 +61,12 @@ public class BacktrackException extends Exception {
public final IASTProblem getProblem() {
return problem;
}
-
+
public final IASTNode getNodeBeforeProblem() {
return nodeBeforeProblem;
}
- public void initialize(int start, int l ) {
+ public void initialize(int start, int l) {
reset();
offset = start;
length = l;

Back to the top