JSDOC/ScopeParser.vala
authorAlan Knowles <alan@roojs.com>
Fri, 6 Nov 2015 08:41:57 +0000 (16:41 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 6 Nov 2015 08:41:57 +0000 (16:41 +0800)
JSDOC/ScopeParser.vala

index 9d4a43d..d4e5a58 100644 (file)
@@ -462,7 +462,8 @@ namespace JSDOC {
                     if (symbol == "this") {
                         break;
                     }
-                    if (this.mode == 'PASS2_SYMBOL_TREE') {
+                    
+                    if (this.mode == ScopeParserMode.PASS2_SYMBOL_TREE) {
                         
                         //println("GOT IDENT: -2 : " + this.ts.lookT(-2).toString() + " <BR> ..... -1 :  " +  this.ts.lookT(-1).toString() + " <BR> ");