Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipe Mulet2001-07-26 12:02:48 +0000
committerPhilipe Mulet2001-07-26 12:02:48 +0000
commitee53900dfbf24467d71ddc51bb3fa9035dc9010f (patch)
treeb49216c7de6ebd5f9095df9f060dbdcc360c7c3d
parentc190785eca6ab597b04605a232baa33f667db36c (diff)
downloadeclipse.jdt.core-ee53900dfbf24467d71ddc51bb3fa9035dc9010f.tar.gz
eclipse.jdt.core-ee53900dfbf24467d71ddc51bb3fa9035dc9010f.tar.xz
eclipse.jdt.core-ee53900dfbf24467d71ddc51bb3fa9035dc9010f.zip
-rw-r--r--org.eclipse.jdt.core/changes.txt3
-rw-r--r--org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java1
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java1
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java6
4 files changed, 8 insertions, 3 deletions
diff --git a/org.eclipse.jdt.core/changes.txt b/org.eclipse.jdt.core/changes.txt
index f8b040c175..02bc78201d 100644
--- a/org.eclipse.jdt.core/changes.txt
+++ b/org.eclipse.jdt.core/changes.txt
@@ -7,7 +7,8 @@ What's new in this drop
PRs Fixed in 1.0NL stream (since 0.9)
==================================================================================
-1GH3218: ITPJUI:WIN - mnuemonic problems
+1GGCYEU: ITPJCORE:ALL - Using Ant for build skip files
+1GH3218: ITPJUI:WIN - mnemonic problems
1GGLLUG: ITPJCORE:WINNT - @deprecated does not work if it is followed by a TAB
1GG8T8H: ITPJCORE:ALL - JCK1.3a - dasg04203 - definitely assigned value before the third operand of the conditional operator ? :
1GG8T56: ITPJCORE:ALL - JCK1.3a - dasg04103 - definitely assigned value before the second operand of the conditional operator ? :
diff --git a/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java b/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
index d5e48dc0b5..2ac0910b9c 100644
--- a/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
+++ b/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
@@ -142,6 +142,7 @@ public boolean getNextCharAsJavaIdentifierPart() {
}
public int getNextToken() throws InvalidInputException {
+ this.wasAcr = false;
if (diet) {
jumpOverMethodBody();
diet = false;
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
index 03126051b3..11a9f3e9f8 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
@@ -614,6 +614,7 @@ protected static short check(int i) {
public boolean checkAndReportBracketAnomalies(ProblemReporter problemReporter) {
boolean anomaliesDetected = false;
+ this.scanner.wasAcr = false;
try {
char[] source = scanner.source;
int[] leftCount = {0, 0, 0};
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
index fb62e9aba1..a4421327e4 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
@@ -620,6 +620,7 @@ public boolean getNextCharAsJavaIdentifierPart() {
}
public int getNextToken() throws InvalidInputException {
+ this.wasAcr = false;
if (diet) {
jumpOverMethodBody();
diet = false;
@@ -1147,6 +1148,7 @@ public final void getNextUnicodeChar()
*/
public final void jumpOverMethodBody() {
+ this.wasAcr = false;
int found = 1;
try {
while (true) { //loop for jumping over comments
@@ -1411,8 +1413,7 @@ public final void jumpOverMethodBody() {
}
return;
}
-public final boolean jumpOverUnicodeWhiteSpace()
- throws InvalidInputException {
+public final boolean jumpOverUnicodeWhiteSpace() throws InvalidInputException {
//BOOLEAN
//handle the case of unicode. Jump over the next whiteSpace
//making startPosition pointing on the next available char
@@ -1420,6 +1421,7 @@ public final boolean jumpOverUnicodeWhiteSpace()
//correct char
try {
+ this.wasAcr = false;
int c1, c2, c3, c4;
int unicodeSize = 6;
currentPosition++;

Back to the top