Home | History | Annotate | Line # | Download | only in indent
opt_lp.c revision 1.1
      1 /* $NetBSD: opt_lp.c,v 1.1 2021/10/16 03:20:13 rillig Exp $ */
      2 /* $FreeBSD$ */
      3 
      4 #indent input
      5 void
      6 example(void)
      7 {
      8 	p1 = first_procedure(second_procedure(p2, p3),
      9 	    third_procedure(p4, p5));
     10 
     11 	p1 = first_procedure(second_procedure(p2,
     12 	    p3),
     13 	    third_procedure(p4,
     14 	        p5));
     15 }
     16 #indent end
     17 
     18 #indent run -lp
     19 void
     20 example(void)
     21 {
     22 	p1 = first_procedure(second_procedure(p2, p3),
     23 			     third_procedure(p4, p5));
     24 
     25 	p1 = first_procedure(second_procedure(p2,
     26 					      p3),
     27 			     third_procedure(p4,
     28 					     p5));
     29 }
     30 #indent end
     31 
     32 #indent input
     33 void
     34 example(void)
     35 {
     36 	p1 = first_procedure(second_procedure(p2, p3),
     37 	    third_procedure(p4, p5));
     38 
     39 	p1 = first_procedure(second_procedure(p2,
     40 	    p3),
     41 	    third_procedure(p4,
     42 	        p5));
     43 }
     44 #indent end
     45 
     46 #indent run -nlp
     47 void
     48 example(void)
     49 {
     50 	p1 = first_procedure(second_procedure(p2, p3),
     51 		third_procedure(p4, p5));
     52 
     53 	p1 = first_procedure(second_procedure(p2,
     54 			p3),
     55 		third_procedure(p4,
     56 			p5));
     57 }
     58 #indent end
     59