#1329: [PATCH] extend scope of t/codingstd/c_indent.t
------------------------------+---------------------------------------------
Reporter: plobsing | Owner: jkeenan
Type: patch | Status: new
Priority: normal | Milestone:
Component: coding_standards | Version: 1.8.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
------------------------------+---------------------------------------------
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.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1329>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets