X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPCodeScanner.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPCodeScanner.java index 9bf5601..0e657f7 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPCodeScanner.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPCodeScanner.java @@ -133,18 +133,18 @@ public class PHPCodeScanner extends AbstractJavaScanner { return Token.UNDEFINED; } else { c = scanner.read(); - if (c != 'p') { + if (c != 'p' && c != 'P') { scanner.unread(); return getToken(IPreferenceConstants.PHP_TAG); } else { c = scanner.read(); - if (c != 'h') { + if (c != 'h' && c != 'H') { scanner.unread(); scanner.unread(); return getToken(IPreferenceConstants.PHP_TAG); } else { c = scanner.read(); - if (c != 'p') { + if (c != 'p' && c != 'P') { scanner.unread(); scanner.unread(); scanner.unread();