Ticket #1137 (closed patch: fixed)
[PATCH] fix codingstd/c_indent.t wrt switch/case labels
Reported by: | plobsing | Owned by: | coke |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | coding_standards | Version: | trunk |
Severity: | low | Keywords: | |
Cc: | coke | Language: | |
Patch status: | applied | Platform: |
Description
PDD07 Specifies:
C and Perl code must be indented four columns per nesting level.
and
Labels (including case labels) must be outdented two columns relative to the code they label.
However, the current coding standard tests check that all indented C lines be indented by a multiple of 4.
Indent by 4, outdent by 2, gives an indentation that is a multiple of 2 but not a multiple of four.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.