JSDOC/ScopeParser.vala
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.vala
index 459a6a0..ae7832f 100644 (file)
@@ -472,7 +472,7 @@ namespace JSDOC {
                            //println("GOT IDENT: <B>" + symbol + "</B><BR/>");
                                 
                                //println("GOT IDENT (2): <B>" + symbol + "</B><BR/>");
-                           identifier = this.getIdentifier(symbol, scope, token);
+                           var identifier = this.getIdentifier(symbol, scope, token);
                            
                            if (identifier == null) {
 // BUG!find out where builtin is defined...
@@ -516,9 +516,7 @@ namespace JSDOC {
                                    var _t = this;
                                    
                                    var regex = new GLib.Regex ("eval:var:([a-z_]+)",GLib.RegexCompileFlags.CASELESS );
-
-                
-                                   
                                    regex.replace_eval (token.prefix, token.prefix.length, 0, 0, (match_info, result) => {
                                                var a =  match_info.fetch(0);
                                        var hi = this.getIdentifier(a, scope, token);