JSDOC/ScopeParser.vala
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.vala
index 724d18e..8270cf3 100644 (file)
@@ -21,7 +21,7 @@ namespace JSDOC {
     ScopeParserMode mode;
     //braceNesting : 0,
     Gee.HashMap<int,Scope> indexedScopes;
-    //munge: true,
+    bool munge =  true;
 
        
        
@@ -132,13 +132,15 @@ namespace JSDOC {
         this.indexedScopes = new Gee.HashMap<int,Scope>();
         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) {