Fixed bug for stacktrace:
authoraxelcl <axelcl>
Thu, 26 May 2005 21:57:12 +0000 (21:57 +0000)
committeraxelcl <axelcl>
Thu, 26 May 2005 21:57:12 +0000 (21:57 +0000)
http://phpeclipse.de/tiki-view_forum_thread.php?forumId=1&comments_parentId=1726

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;