Ticket #1329 (closed patch: wontfix)
[PATCH] extend scope of t/codingstd/c_indent.t
Reported by: | plobsing | Owned by: | plobsing |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | coding_standards | Version: | 1.8.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
t/codingstd/c_indent.t currently only scans C code when the C preprocessor stack isn't empty (ie between #if and #endif).
Much of parrot's C code doesn't fall into that category and is currently unchecked and sometimes incorrectly indented (eg: src/ops/sys.ops, which uses a lot of 2-space indenting).
The attached patch tweaks t/codingstd/c_indent.t so that it no longer ignores such code.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.