JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:07:50 +0000 (16:07 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:07:50 +0000 (16:07 +0800)
JSDOC/ScopeParser.js

index 892f933..3c8fe12 100644 (file)
@@ -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())
                             }