Added patch for #1589521 "3 character function names invalid?"
authoraxelcl <axelcl>
Sat, 17 Mar 2007 13:54:41 +0000 (13:54 +0000)
committeraxelcl <axelcl>
Sat, 17 Mar 2007 13:54:41 +0000 (13:54 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java

index 6866e27..f230cf3 100644 (file)
@@ -3684,8 +3684,8 @@ public class Scanner implements IScanner, ITerminalSymbols {
                                // if ((data[++index] == 'r') && (data[++index] == 'u')
                                // && (data[++index] == 'e'))
                                // return TokenNametrue;
-                               // else
-                               // return TokenNameIdentifier;
+                                else
+                                        return TokenNameIdentifier;
                        case 5:
                                if ((data[++index] == 'h') && (data[++index] == 'r')
                                                && (data[++index] == 'o') && (data[++index] == 'w'))