JSDOC/ScopeParser.vala
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.vala
index e0151fb..c81bc1e 100644 (file)
@@ -708,7 +708,7 @@ namespace JSDOC {
                        } else {
                            //print("EXPR-NAME:" + token.toString());
                        }
-                       symbol = token.data;
+                       var symbol = token.data;
                        //print("in NAME = " + token.toString());
                        //print("in NAME 0: " + this.ts.look(0).toString());
                        //print("in NAME 2: " + this.ts.lookTok(2).toString());
@@ -725,7 +725,7 @@ namespace JSDOC {
                        
                        if (this.mode == ScopeParserMode.PASS2_SYMBOL_TREE) {
 
-                           identifier = this.getIdentifier(symbol, scope, token);
+                           var identifier = this.getIdentifier(symbol, scope, token);
                            //println("<B>??</B>");
                            if (identifier == false) {
 
@@ -768,8 +768,8 @@ namespace JSDOC {
                        }
                   
                         
-                       symbol = token.data;
-                       if (this.mode == 'BUILDING_SYMBOL_TREE') {
+                       var symbol = token.data;
+                       if (this.mode == ScopeParserMode.BUILDING_SYMBOL_TREE) {
                            
                            if (token.name == "EVAL") {
                                //print(JSON.stringify(token,null,4));
@@ -810,7 +810,7 @@ namespace JSDOC {
            }
            //print("<< EXIT EXPRESSION");
            this.expN--;
-       },
+       }
 
 
        parseCatch : function(scope) {