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

index ce6734f..8a0bfa6 100644 (file)
@@ -834,7 +834,7 @@ namespace JSDOC {
            symbol = token.items[0][0].data;
            
 
            symbol = token.items[0][0].data;
            
 
-           if (this.mode == 'BUILDING_SYMBOL_TREE') {
+           if (this.mode == ScopeParserMode.BUILDING_SYMBOL_TREE) {
                // We must declare the exception identifier in the containing function
                // scope to avoid errors related to the obfuscation process. No need to
                // display a warning if the symbol was already declared here...
                // We must declare the exception identifier in the containing function
                // scope to avoid errors related to the obfuscation process. No need to
                // display a warning if the symbol was already declared here...