JSDOC/ScopeParser.vala
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.vala
index 108aaf6..a59024a 100644 (file)
@@ -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);
@@ -730,7 +728,7 @@ namespace JSDOC {
 
                            var identifier = this.getIdentifier(symbol, scope, token);
                            //println("<B>??</B>");
-                           if (identifier == false) {
+                           if (identifier == null) {
 
                                if (symbol.length <= 3 &&  Scope.builtin.indexOf(symbol) < 0) {
                                    // Here, we found an undeclared and un-namespaced symbol that is