From: Alan Knowles Date: Thu, 15 Jul 2010 08:07:50 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=f3ef71dbf5118d07e9a1d8b08059bde73310eb57 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 892f933..3c8fe12 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -739,6 +739,7 @@ ScopeParser.prototype = { this.globalScope.declareIdentifier(symbol, token); this.warn("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')', true); print("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')'); + throw "OOPS"; } else { print("undeclared:" + token.toString()) }