git://git.phpeclipse.com
/
phpeclipse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
bugfix 1198893, syntax coloring gets confused after single line comment with question...
[phpeclipse.git]
/
net.sourceforge.phpeclipse
/
src
/
net
/
sourceforge
/
phpdt
/
internal
/
ui
/
text
/
FastJavaPartitionScanner.java
diff --git
a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/FastJavaPartitionScanner.java
b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/FastJavaPartitionScanner.java
index
7efcc30
..
559dc88
100644
(file)
--- a/
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/FastJavaPartitionScanner.java
+++ b/
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/FastJavaPartitionScanner.java
@@
-201,8
+201,10
@@
public class FastJavaPartitionScanner implements IPartitionTokenScanner, IPHPPar
fScanner.unread();
return postFix(fState);
}
- // bug #1404228: Crash on <?php // comment ?>
- // fScanner.unread();
+ else {
+ // bug #1404228: Crash on <?php // comment ?>
+ fScanner.unread();
+ }
}
default: