Lines 904-909
Link Here
|
904 |
if (this.currentPosition > this.eofPosition) |
904 |
if (this.currentPosition > this.eofPosition) |
905 |
return TokenNameEOF; |
905 |
return TokenNameEOF; |
906 |
} |
906 |
} |
|
|
907 |
//little trick to get out in the middle of a source compuation |
908 |
if (this.currentPosition > this.eofPosition) |
909 |
return TokenNameEOF; |
907 |
if (checkIfUnicode) { |
910 |
if (checkIfUnicode) { |
908 |
isWhiteSpace = jumpOverUnicodeWhiteSpace(); |
911 |
isWhiteSpace = jumpOverUnicodeWhiteSpace(); |
909 |
offset = this.currentPosition - offset; |
912 |
offset = this.currentPosition - offset; |
Lines 954-965
Link Here
|
954 |
this.withoutUnicodePtr = 0; |
957 |
this.withoutUnicodePtr = 0; |
955 |
} |
958 |
} |
956 |
} |
959 |
} |
957 |
//little trick to get out in the middle of a source compuation |
|
|
958 |
if (this.currentPosition > this.eofPosition) |
959 |
return TokenNameEOF; |
960 |
|
961 |
// ---------Identify the next token------------- |
960 |
// ---------Identify the next token------------- |
962 |
|
|
|
963 |
switch (this.currentCharacter) { |
961 |
switch (this.currentCharacter) { |
964 |
case '@' : |
962 |
case '@' : |
965 |
/* if (this.sourceLevel >= ClassFileConstants.JDK1_5) { |
963 |
/* if (this.sourceLevel >= ClassFileConstants.JDK1_5) { |
Lines 2421-2431
Link Here
|
2421 |
} |
2419 |
} |
2422 |
this.commentPtr = -1; // reset comment stack |
2420 |
this.commentPtr = -1; // reset comment stack |
2423 |
this.foundTaskCount = 0; |
2421 |
this.foundTaskCount = 0; |
2424 |
|
|
|
2425 |
// // if resetTo is used with being > than end. |
2426 |
// if (begin > this.eofPosition) { |
2427 |
// begin = this.eofPosition; |
2428 |
// } |
2429 |
} |
2422 |
} |
2430 |
|
2423 |
|
2431 |
public final void scanEscapeCharacter() throws InvalidInputException { |
2424 |
public final void scanEscapeCharacter() throws InvalidInputException { |