From 0c62ca32cc799884fffeb4b2b7715d8cea8649fd Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 6 Nov 2015 16:37:27 +0800 Subject: [PATCH] JSDOC/ScopeParser.vala --- JSDOC/ScopeParser.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JSDOC/ScopeParser.vala b/JSDOC/ScopeParser.vala index 44e1ca1..e993773 100644 --- a/JSDOC/ScopeParser.vala +++ b/JSDOC/ScopeParser.vala @@ -397,7 +397,7 @@ namespace JSDOC { case "KEYW.WITH": //print('SCOPE-WITH:' + token.toString()); //println(""+token.data+""); - if (this.mode == "BUILDING_SYMBOL_TREE") { + if (this.mode == ScopeParserMode.BUILDING_SYMBOL_TREE) { // Inside a 'with' block, it is impossible to figure out // statically whether a symbol is a local variable or an // object member. As a consequence, the only thing we can -- 2.39.2