From c756d8f72022d9a668d1e7278f30eaa9d893707f Mon Sep 17 00:00:00 2001 From: axelcl Date: Tue, 30 Aug 2005 20:33:07 +0000 Subject: [PATCH] Added new syntax error "Assignment operator not allowed after identifier..." --- .../phpdt/internal/compiler/parser/Parser.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) 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() { -- 1.7.1