support with syntax

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2013-07-28 22:28:52 -04:00
parent 13f4401259
commit dd361e63e9
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class PythonTabber(tab.StackTabber):
# NOTE: yield might initially seem like an endlevel name, but it's not one. # NOTE: yield might initially seem like an endlevel name, but it's not one.
# NOTE: return should be an endlevel name but for now it can't be one. # NOTE: return should be an endlevel name but for now it can't be one.
endlevel_names = ('pass', 'raise', 'break', 'continue') endlevel_names = ('pass', 'raise', 'break', 'continue')
startlevel_names = ('if', 'try', 'class', 'def', 'for', 'while', 'try') startlevel_names = ('if', 'try', 'class', 'def', 'for', 'while', 'try', 'with')
def __init__(self, m): def __init__(self, m):
tab.StackTabber.__init__(self, m) tab.StackTabber.__init__(self, m)
self.base_level = 0 self.base_level = 0