From ddbb284c2312d984596477e216f52a8055ec6826 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 6 Nov 2015 16:22:46 +0800 Subject: [PATCH] JSDOC/ScopeParser.vala --- JSDOC/ScopeParser.vala | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/JSDOC/ScopeParser.vala b/JSDOC/ScopeParser.vala index 724d18e..8270cf3 100644 --- a/JSDOC/ScopeParser.vala +++ b/JSDOC/ScopeParser.vala @@ -21,7 +21,7 @@ namespace JSDOC { ScopeParserMode mode; //braceNesting : 0, Gee.HashMap indexedScopes; - //munge: true, + bool munge = true; @@ -132,13 +132,15 @@ namespace JSDOC { this.indexedScopes = new Gee.HashMap(); this.indexedScopes.set(0, this.globalScope ); - this.mode = 'BUILDING_SYMBOL_TREE'; + this.mode = ScopeParserMode.BUILDING_SYMBOL_TREE; + this.parseScope(this.globalScope); //print("---------------END PASS 1 ---------------- "); - }, - mungeSymboltree : function() + } + + void mungeSymboltree() { if (!this.munge) { -- 2.39.2