#1329: [PATCH] extend scope of t/codingstd/c_indent.t
------------------------------+---------------------------------------------
 Reporter:  plobsing          |       Owner:       
     Type:  patch             |      Status:  new  
 Priority:  normal            |   Milestone:       
Component:  coding_standards  |     Version:  1.8.0
 Severity:  medium            |    Keywords:       
     Lang:                    |       Patch:       
 Platform:                    |  
------------------------------+---------------------------------------------

Comment(by plobsing):

 Replying to [comment:4 coke]:
 > Is 0 an invalid indent level?

 The heuristic that's being triggered for the code with 0-space indentation
 is roughly "the first line of a top level block must have '''exactly'''
 4-spaces of indentation".

 Most of these can be made to go away if we modify this to be the first
 ''non-comment'' line another dubious case is eliminated by ignoring
 yacc/lex %{ ... %} blocks as top level blocks.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1329#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to