From df27a69506e6ba4dff5a3b8f1dc313d5714f4d69 Mon Sep 17 00:00:00 2001 From: axelcl Date: Sat, 17 Mar 2007 13:54:41 +0000 Subject: [PATCH 1/1] Added patch for #1589521 "3 character function names invalid?" --- .../phpdt/internal/compiler/parser/Scanner.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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')) -- 1.7.1