Fixed bug for line comments starting with '#=' characters and detecting wrong '/...
authoraxelcl <axelcl>
Sun, 2 Jan 2005 11:57:26 +0000 (11:57 +0000)
committeraxelcl <axelcl>
Sun, 2 Jan 2005 11:57:26 +0000 (11:57 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java

index 7d96e62..655dcef 100644 (file)
@@ -1528,7 +1528,7 @@ public class Scanner implements IScanner, ITerminalSymbols {
           case '#':
           case '/': {
             char startChar = currentCharacter;
-            if (getNextChar('=')) {
+            if (getNextChar('=') && startChar=='/') {
               return TokenNameDIVIDE_EQUAL;
             }
             int test;