fix indenting when dealing with macros
--HG-- branch : pmacs2
This commit is contained in:
parent
ef69fb585f
commit
220e032aa1
|
@ -125,8 +125,8 @@ class CTabber2(tab.StackTabber2):
|
||||||
# this assumes that people aren't gonna use these macros inside of
|
# this assumes that people aren't gonna use these macros inside of
|
||||||
# blocks, which is probably ok.
|
# blocks, which is probably ok.
|
||||||
t = tokens[0]
|
t = tokens[0]
|
||||||
if t.fqmatchs('c.macro.start', ('#define', '#include')):
|
#if t.fqmatchs('c.macro.start', ('#define', '#include')):
|
||||||
return True
|
# return True
|
||||||
|
|
||||||
# detecting function declarations is annoying; this assumes that people
|
# detecting function declarations is annoying; this assumes that people
|
||||||
# won't put a variable type and name on different lines, but that they
|
# won't put a variable type and name on different lines, but that they
|
||||||
|
|
Loading…
Reference in New Issue