Fixed bug for stacktrace:
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.js.core / src / net / sourceforge / phpeclipse / js / core / parser / JSParser.java
index 7db271f..5842aae 100644 (file)
@@ -9,6 +9,10 @@
  * Modifications history
  *========================================================================
  * $Log: not supported by cvs2svn $
+ * Revision 1.3  2005/05/06 00:58:28  stefanbjarni
+ * Organized imports
+ * Changed one instance reference to a static method to a static reference
+ *
  * Revision 1.2  2005/04/06 18:29:29  axelcl
  * Avoid NullPointerException
  *
@@ -810,7 +814,7 @@ public class JSParser
                        globalVariables.put(variableName, aVariable);
                } else
                {
-                       aVariable = (JSGlobalVariableElement) classes.get(variableName);
+                       aVariable = (JSGlobalVariableElement) globalVariables.get(variableName);
                }
 
                return aVariable;