From: Alan Knowles Date: Fri, 6 Nov 2015 08:22:46 +0000 (+0800) Subject: JSDOC/ScopeParser.vala X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=ddbb284c2312d984596477e216f52a8055ec6826 JSDOC/ScopeParser.vala --- 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) {