The variable name is now an expression ... I know it's strange but in php you can...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / test / PHPParser.java
index 3414145..25183f6 100644 (file)
@@ -19,7 +19,6 @@ import net.sourceforge.phpdt.internal.compiler.ast.*;
 import net.sourceforge.phpdt.internal.compiler.parser.OutlineableWithChildren;
 import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
 import net.sourceforge.phpdt.internal.compiler.parser.PHPOutlineInfo;
-import net.sourceforge.phpdt.internal.ui.util.StringUtil;
 
 /**
  * A new php parser.
@@ -193,9 +192,9 @@ public final class PHPParser extends PHPParserSuperclass implements PHPParserCon
 
         Hashtable attributes = new Hashtable();
 
-                               current = StringUtil.replaceAll(current, "\n", "");
-                               current = StringUtil.replaceAll(current, "<b>", "");
-                               current = StringUtil.replaceAll(current, "</b>", "");
+        current = current.replaceAll("\n", "");
+        current = current.replaceAll("<b>", "");
+        current = current.replaceAll("</b>", "");
         MarkerUtilities.setMessage(attributes, current);
 
         if (current.indexOf(PARSE_ERROR_STRING) != -1)