Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrganor2008-10-29 07:23:18 -0400
committerrganor2008-10-29 07:23:18 -0400
commit5c5323a3568d1249095bdc655c90450815b32792 (patch)
tree91109f5916b8785cb18088a0fceb39dfc6930bb2
parent8909c2450bfba825c62a6178657ddffd99737ae4 (diff)
downloadorg.eclipse.pdt-5c5323a3568d1249095bdc655c90450815b32792.tar.gz
org.eclipse.pdt-5c5323a3568d1249095bdc655c90450815b32792.tar.xz
org.eclipse.pdt-5c5323a3568d1249095bdc655c90450815b32792.zip
Bug 251075 - @ curropts syntax highlight in multi line comment.
fixed. following jflex 1.4.1
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/documentModel/parser/regions/PhpTokenContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/documentModel/parser/regions/PhpTokenContainer.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/documentModel/parser/regions/PhpTokenContainer.java
index 90c0712f4..4222c600c 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/documentModel/parser/regions/PhpTokenContainer.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/documentModel/parser/regions/PhpTokenContainer.java
@@ -161,7 +161,7 @@ public class PhpTokenContainer {
newIterator.next(); // ignore the first state change (it is identical to the original one)
// goto the previous before adding
- if (oldIterator.hasNext() && oldIterator.nextIndex() != 1) {
+ if (oldIterator.nextIndex() != 1) {
oldIterator.previous();
}
while (newIterator.hasNext()) {

Back to the top