while ((currentCharacter == ' ')
|| Character.isWhitespace(currentCharacter)) {
- startPosition = currentPosition;
- currentCharacter = source[currentPosition++];
if ((currentCharacter == '\r')
|| (currentCharacter == '\n')) {
checkNonExternalizeString();
currentLine = null;
}
}
+ startPosition = currentPosition;
+ currentCharacter = source[currentPosition++];
}
if (tokenizeWhiteSpace
&& (whiteStart != currentPosition - 1)) {
}
} catch (IndexOutOfBoundsException e) {
phpMode = true;
- currentPosition = currentPositionInLine;
+ currentPosition = currentPositionInLine - 1;
return TokenNameINLINE_HTML;
}
}
// if ((data[++index] == 'r') && (data[++index] == 'u')
// && (data[++index] == 'e'))
// return TokenNametrue;
- // else
- // return TokenNameIdentifier;
+ else
+ return TokenNameIdentifier;
case 5:
if ((data[++index] == 'h') && (data[++index] == 'r')
&& (data[++index] == 'o') && (data[++index] == 'w'))
case 3:
if ((data[++index] == 's') && (data[++index] == 'e'))
return TokenNameuse;
+ else
+ return TokenNameIdentifier;
case 5:
if ((data[++index] == 'n') && (data[++index] == 's')
&& (data[++index] == 'e') && (data[++index] == 't'))