Lines Matching refs:tflags
67 void sh_deparse(Sfio_t *out, const Shnode_t *t,int tflags) in sh_deparse() argument
70 p_tree(t,tflags); in sh_deparse()
75 static void p_tree(register const Shnode_t *t,register int tflags) in p_tree() argument
79 int needbrace = (tflags&NEED_BRACE); in p_tree()
80 tflags &= ~NEED_BRACE; in p_tree()
81 if(tflags&NO_NEWLINE) in p_tree()
93 p_tree(t->par.partre,tflags); in p_tree()
106 tflags |= NEED_BRACE; in p_tree()
108 tflags = NO_NEWLINE|NEED_BRACE; in p_tree()
109 p_tree(t->fork.forktre,tflags); in p_tree()
115 tflags |= NEED_BRACE; in p_tree()
118 tflags = NEED_BRACE|NO_NEWLINE; in p_tree()
122 tflags = NO_NEWLINE; in p_tree()
123 p_tree(t->fork.forktre,tflags); in p_tree()
181 p_tree(t->lst.lstrit,tflags); in p_tree()
188 tflags = 0; in p_tree()
189 p_tree(t->lst.lstrit,tflags); in p_tree()
208 tflags |= NO_NEWLINE; in p_tree()
209 if(!(tflags&NO_BRACKET)) in p_tree()
212 tflags |= NO_BRACKET; in p_tree()
216 p_tree(t->lst.lstlef,NEED_BRACE|NO_NEWLINE|(tflags&NO_BRACKET)); in p_tree()
224 p_tree(t->lst.lstrit,tflags|NEED_BRACE); in p_tree()
243 if(!(tflags&NO_NEWLINE)) in p_tree()
255 tflags = end_line; in p_tree()
258 end_line = tflags; in p_tree()
277 tflags = end_line; in p_tree()
280 end_line = tflags; in p_tree()
294 tflags = (t->funct.functargs?' ':'\n'); in p_tree()
295 sfputr(outfile,t->funct.functnam,tflags); in p_tree()
298 tflags = end_line; in p_tree()
301 end_line = tflags; in p_tree()
312 if(!(tflags&NO_BRACKET)) in p_tree()
339 if(!(tflags&NO_BRACKET)) in p_tree()