From 993971fe289a05927d7cefeb6eeac587df9aa169 Mon Sep 17 00:00:00 2001 From: bananeweizen Date: Sun, 15 Jan 2006 11:57:52 +0000 Subject: [PATCH] bugfix 1198893, syntax coloring gets confused after single line comment with question mark; also changing fix for 1404228 --- .../internal/ui/text/FastJavaPartitionScanner.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) 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: -- 1.7.1