branch : pmacs2
This commit is contained in:
moculus 2008-10-04 14:50:55 +00:00
parent cbe91b0a98
commit 084df1740e
1 changed files with 2 additions and 3 deletions

View File

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