JSDOC/ScopeParser.vala
authorAlan Knowles <alan@roojs.com>
Mon, 9 Nov 2015 10:05:38 +0000 (18:05 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 9 Nov 2015 10:05:38 +0000 (18:05 +0800)
JSDOC/ScopeParser.vala

index ae7832f..a59024a 100644 (file)
@@ -728,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