JSDOC/ScopeParser.vala
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.vala
index 05d7be7..73072b3 100644 (file)
@@ -956,12 +956,14 @@ namespace JSDOC {
            scope.preventMunging();
        },
        
-       string getIdentifier(symbol, scope, token) {
-           var identifier;
+       string getIdentifier(string symbol, Scope in_scope, Token token) 
+       {
+           string identifier;
+           var scope in_scope;
            while (scope != null) {
                identifier = scope.getIdentifier(symbol, token);
                //println("ScopeParser.getIdentgetUsedSymbols("+symbol+")=" + scope.getUsedSymbols().join(','));
-               if (identifier) {
+               if (identifier.length) {
                    return identifier;
                }
                scope = scope.parent;