JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index f6b2ff2..237f6b6 100644 (file)
@@ -711,7 +711,9 @@ ScopeParser.prototype = {
                         //skip '.'
                         break;
                     }
-                    
+                    if (symbol == 'this') {
+                        break;
+                       }
                     
                     if (this.mode == 'PASS2_SYMBOL_TREE') {
 
@@ -729,7 +731,7 @@ ScopeParser.prototype = {
                                 //print("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')');
                                 //throw "OOPS";
                             } else {
-                                print("undeclared:" + token.toString())
+                                //print("undeclared:" + token.toString())
                             }