ide/CodeEditor: Fixed bad memory read on re-parsing
authorJerome St-Louis <jerome@ecere.com>
Thu, 10 Apr 2014 06:36:39 +0000 (02:36 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 10 Apr 2014 06:36:39 +0000 (02:36 -0400)
ide/src/designer/CodeEditor.ec

index 2969a65..bfee4db 100644 (file)
@@ -2568,6 +2568,7 @@ class CodeEditor : Window
    ****************************************************************************/
    void FreeParser()
    {
+      SetCurrentNameSpace(null);
       if(ast != null)
       {
          FreeASTTree(ast);