From: axelcl Date: Tue, 30 Aug 2005 20:33:07 +0000 (+0000) Subject: Added new syntax error "Assignment operator not allowed after identifier..." X-Git-Url: http://secure.phpeclipse.com Added new syntax error "Assignment operator not allowed after identifier..." --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Parser.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Parser.java index b7a1353..12e3dfb 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Parser.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Parser.java @@ -3349,7 +3349,15 @@ public class Parser implements ITerminalSymbols, CompilerModifiers, ParserBasicI // base_variable_with_function_calls T_OBJECT_OPERATOR // object_property method_or_not variable_properties // | base_variable_with_function_calls - return base_variable_with_function_calls(lefthandside, ignoreVar); + Expression ref = base_variable_with_function_calls(lefthandside, ignoreVar); + if (token == TokenNameMINUS_GREATER) { + ref = null; + getNextToken(); + object_property(); + method_or_not(); + variable_properties(); + } + return ref; } private void method_or_not() {