Skip to content

Commit

Permalink
Update ExtractCallStack.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jatz committed May 12, 2014
1 parent 382057a commit 3bd52be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ExtractCallStack.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run(self, edit):
lastCall = ''
nestLevel = 0

# extContext will store a list of contexts to keep track of all the start-ext calls
# extContext will store a list of contexts to keep track of all the start and start-ext calls
extContext = []

# Perform initial formatting based on Nest value
Expand Down Expand Up @@ -96,6 +96,8 @@ def run(self, edit):
extContext.pop()
if match.group(1) == 'end':
lastCall = 'end'
# remove the last element from extContext
extContext.pop()
if match.group(1) == 'reend':
lastCall = 'reend'

Expand Down

0 comments on commit 3bd52be

Please sign in to comment.