parent
cbe91b0a98
commit
084df1740e
|
@ -115,9 +115,8 @@ class CTabber2(tab.StackTabber2):
|
||||||
def _is_indent(self, t):
|
def _is_indent(self, t):
|
||||||
return t.name == 'spaces'
|
return t.name == 'spaces'
|
||||||
def _is_ignored(self, t):
|
def _is_ignored(self, t):
|
||||||
if t.name in ('spaces', 'eol', 'comment'): return True
|
return t.fqname() in ('spaces', 'eol', 'comment', 'comment.start',
|
||||||
elif t.fqname() in ('comment.start', 'comment.data', 'comment.null', 'comment.end'): return True
|
'comment.data', 'comment.null', 'comment.end')
|
||||||
else: return False
|
|
||||||
|
|
||||||
class CCheckSyntax(method.shell.Exec):
|
class CCheckSyntax(method.shell.Exec):
|
||||||
'''Build this C program (using the mode's make cmd)'''
|
'''Build this C program (using the mode's make cmd)'''
|
||||||
|
|
Loading…
Reference in New Issue