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

index 8270cf3..6f2136a 100644 (file)
@@ -4,7 +4,8 @@
 namespace JSDOC {
 
        public enum ScopeParserMode {
-               BUILDING_SYMBOL_TREE
+               BUILDING_SYMBOL_TREE,
+               PASS2_SYMBOL_TREE
        }
 
 
@@ -170,7 +171,7 @@ namespace JSDOC {
 
         this.ts.rewind();
         this.braceNesting = 0;
-        this.mode = 'PASS2_SYMBOL_TREE';
+        this.mode = PASS2_SYMBOL_TREE;
         
         //println("MUNGING?");