This commit is contained in:
Indrek Ardel
2015-09-07 23:11:19 +03:00
committed by Nathan Sobo
parent e1b984820d
commit bb11d13fe3

View File

@@ -33,7 +33,7 @@ class TokenIterator
if tag < 0
if tag % 2 is 0
scopeName = atom.grammars.scopeForId(tag + 1)
if @scopeEnds.length is 0
if @scopeStarts.length is 0
@scopeEnds.push(scopeName)
else
startsTop = this.scopeStarts.pop()