From 442b7e7219edf9f432d52b8a7ac8d7096b49f53a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 6 Nov 2015 16:19:26 +0800 Subject: [PATCH] JSDOC/ScopeParser.vala --- JSDOC/ScopeParser.vala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/JSDOC/ScopeParser.vala b/JSDOC/ScopeParser.vala index c260b0d..cd8471b 100644 --- a/JSDOC/ScopeParser.vala +++ b/JSDOC/ScopeParser.vala @@ -12,7 +12,7 @@ namespace JSDOC { string[] idents; - //global : false, + Scope global ; //mode : "", //"BUILDING_SYMBOL_TREE", //braceNesting : 0, //indexedScopes : false, @@ -23,6 +23,8 @@ namespace JSDOC { public ScopeParser(TokenStream ts) { this.ts = ts; // {TokenStream} this.warnings = new Gee.ArrayList(); + this.globalScope = new Scope(-1, false, -1, ''); + //this.indexedg = {}; //this.timer = new Date() * 1; this.idents = { @@ -110,7 +112,7 @@ namespace JSDOC { - buildSymbolTree : function() + void buildSymbolTree() { //println("
");
         
-- 
2.39.2