X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java index 390bba8..9b6420e 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java @@ -8,7 +8,7 @@ Contributors: Igor Malinin - initial contribution - $Id: PHPPartitionScanner.java,v 1.31 2005-10-09 11:24:07 axelcl Exp $ + $Id: PHPPartitionScanner.java,v 1.32 2005-10-09 12:35:01 axelcl Exp $ **********************************************************************/ package net.sourceforge.phpeclipse.phpeditor.php; @@ -335,7 +335,7 @@ public class PHPPartitionScanner implements IPartitionTokenScanner { if (position >= end) { return false; } - if (pos==heredocIdent.length) { + if (pos == heredocIdent.length) { return true; } ch = document.getChar(position++); // ignore escaped character @@ -344,8 +344,6 @@ public class PHPPartitionScanner implements IPartitionTokenScanner { } pos++; } - } else if (ch == '"') { - return true; } } } catch (BadLocationException e) {