#1137: [PATCH] fix codingstd/c_indent.t wrt switch/case labels
------------------------------+---------------------------------------------
Reporter: plobsing | Owner: jkeenan
Type: patch | Status: new
Priority: minor | Milestone:
Component: coding_standards | Version: 1.6.0
Severity: low | Keywords:
Lang: | Patch:
Platform: |
------------------------------+---------------------------------------------
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.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1137>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets