From 3521f756107665cda803a7c496ae91966ccbce2a Mon Sep 17 00:00:00 2001 From: kpouer Date: Tue, 8 Apr 2003 08:32:43 +0000 Subject: [PATCH] removed the $ in the name of the variables --- .../phpdt/internal/compiler/parser/Parser.java | 3 ++- 1 files changed, 2 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 7b63621..11b48d9 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 @@ -1437,7 +1437,8 @@ public class Parser extends PHPParserSuperclass implements ITerminalSymbols { if (token == TokenNameVariable && store.getBoolean(PHPeclipsePlugin.PHP_OUTLINE_VAR)) { ident = scanner.getCurrentIdentifierSource(); - String variableName = new String(ident); + //substring(1) added because PHPVarDeclaration doesn't need the $ anymore + String variableName = new String(ident).substring(1); outlineInfo.addVariable(variableName); getNextToken(); if (token != TokenNameSEMICOLON) { -- 1.7.1