From: axelcl Date: Sat, 17 Mar 2007 13:54:41 +0000 (+0000) Subject: Added patch for #1589521 "3 character function names invalid?" X-Git-Url: http://secure.phpeclipse.com Added patch for #1589521 "3 character function names invalid?" --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java index 6866e27..f230cf3 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java @@ -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'))