From 220e032aa13cc91f6fac443e2f55c619a65857b1 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Thu, 28 Apr 2011 09:32:22 -0400 Subject: [PATCH] fix indenting when dealing with macros --HG-- branch : pmacs2 --- mode/c.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode/c.py b/mode/c.py index 8343b7d..03ccb5e 100644 --- a/mode/c.py +++ b/mode/c.py @@ -125,8 +125,8 @@ class CTabber2(tab.StackTabber2): # this assumes that people aren't gonna use these macros inside of # blocks, which is probably ok. t = tokens[0] - if t.fqmatchs('c.macro.start', ('#define', '#include')): - return True + #if t.fqmatchs('c.macro.start', ('#define', '#include')): + # return True # detecting function declarations is annoying; this assumes that people # won't put a variable type and name on different lines, but that they