misc parser changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / template / DeclarationEngine.java
index 91ce5e7..f3f9132 100644 (file)
@@ -124,7 +124,7 @@ public class DeclarationEngine {
                 continue; // for loop
               }
               break;
-            case ITerminalSymbols.TokenNamethis :
+            case ITerminalSymbols.TokenNameVariable :
               if (type != PHPIdentifierLocation.METHOD && type != PHPIdentifierLocation.VARIABLE) {
                 continue; // for loop
               }