From b199c338ef1b5046397bf6dd06a33432b0150e3d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 15:50:36 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index be4db58..07014c7 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -709,12 +709,14 @@ ScopeParser.prototype = { //print("in NAME 2: " + this.ts.lookTok(2).toString()); //print(this.ts.lookTok(0).data); + // prefixed with '.' if (this.ts.lookTok(0).data == ".") { //skip '.' break; } - if (this.mode == 'PASS2_SYMBOL_TREE') { + + if (this.mode == 'PASS2_SYMBOL_TREE') { identifier = this.getIdentifier(symbol, currentScope); //println("??"); @@ -728,7 +730,7 @@ ScopeParser.prototype = { this.globalScope.declareIdentifier(symbol, token); this.warn("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')', true); } else { - //println("undeclared") + println("undeclared:" + symbol) } -- 2.39.2