JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index 97b3fac..fb57659 100644 (file)
@@ -321,7 +321,7 @@ ScopeParser.prototype = {
                     break;
 
                 case "PUNC.LEFT_CURLY": // {
-                    
+                case "PUNC.LEFT_PAREN": // {    
                     //println("<i>"+token.data+"</i>");
                     var curTS = this.ts;
                     if (token.props) {
@@ -361,6 +361,7 @@ ScopeParser.prototype = {
                     break;
 
                 case "PUNC.RIGHT_CURLY": // }
+                    print("<< EXIT SCOPE");
                     return;
                 /*
                     //println("<i>"+token.data+"</i>");
@@ -554,6 +555,7 @@ ScopeParser.prototype = {
             //if (this.ts.nextT()) break;
             
         }
+        print("<<< EXIT SCOPE");
         //print("<<<<<<<EXIT SCOPE ERR?" +this.scopes.length);
     },
 
@@ -654,6 +656,7 @@ ScopeParser.prototype = {
                             break;
  
                         case ']': //Token.RB:
+                            print("<< EXIT EXPRESSION");
                             return;