From: bananeweizen Date: Sun, 15 Jan 2006 11:57:52 +0000 (+0000) Subject: bugfix 1198893, syntax coloring gets confused after single line comment with question... X-Git-Url: http://secure.phpeclipse.com bugfix 1198893, syntax coloring gets confused after single line comment with question mark; also changing fix for 1404228 --- 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 --- 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 - // fScanner.unread(); + else { + // bug #1404228: Crash on + fScanner.unread(); + } } default: