From: axelcl Date: Mon, 18 Jul 2005 22:29:20 +0000 (+0000) Subject: Fixed bugs item #1240435 X-Git-Url: http://secure.phpeclipse.com Fixed bugs item #1240435 --- 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 1efa21d..9ad50d5 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 @@ -179,7 +179,7 @@ public class PHPCodeScanner extends AbstractJavaScanner { if (character == '`') { - while (true) { + while (character != ICharacterScanner.EOF) { character = scanner.read(); if (character == '\\') { character = scanner.read(); @@ -187,7 +187,8 @@ public class PHPCodeScanner extends AbstractJavaScanner { return fToken; } } - + scanner.unread(); + return Token.UNDEFINED; } else { scanner.unread(); return Token.UNDEFINED;