commit | 4635f4fbaf51555509c747eed02a7e7a580ae1e1 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@canonical.com> | Tue Jan 06 14:41:27 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 06 15:59:17 2009 -0800 |
tree | d3d9d3d26b1c7d302c1200110c5d51b5340183f6 | |
parent | 8b1b33786b06a222cf3430b1bf942a3681532104 [diff] |
checkpatch: track #ifdef/#else/#endif when tracking blocks When picking up a complete statement or block for analysis we cannot simply track open/close/etc parenthesis we must take into account preprocessor section boundaries. Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>