Lines Matching refs:tflags
67 void sh_deparse(Sfio_t *out, const Shnode_t *t,int tflags)
70 p_tree(t,tflags);
75 static void p_tree(register const Shnode_t *t,register int tflags)
79 int needbrace = (tflags&NEED_BRACE);
80 tflags &= ~NEED_BRACE;
81 if(tflags&NO_NEWLINE)
93 p_tree(t->par.partre,tflags);
106 tflags |= NEED_BRACE;
108 tflags = NO_NEWLINE|NEED_BRACE;
109 p_tree(t->fork.forktre,tflags);
115 tflags |= NEED_BRACE;
118 tflags = NEED_BRACE|NO_NEWLINE;
122 tflags = NO_NEWLINE;
123 p_tree(t->fork.forktre,tflags);
181 p_tree(t->lst.lstrit,tflags);
188 tflags = 0;
189 p_tree(t->lst.lstrit,tflags);
208 tflags |= NO_NEWLINE;
209 if(!(tflags&NO_BRACKET))
212 tflags |= NO_BRACKET;
216 p_tree(t->lst.lstlef,NEED_BRACE|NO_NEWLINE|(tflags&NO_BRACKET));
217 if(tflags&FALTPIPE)
233 p_tree(t->lst.lstrit,tflags|NEED_BRACE);
252 if(!(tflags&NO_NEWLINE))
264 tflags = end_line;
267 end_line = tflags;
286 tflags = end_line;
289 end_line = tflags;
303 tflags = (t->funct.functargs?' ':'\n');
304 sfputr(outfile,t->funct.functnam,tflags);
307 tflags = end_line;
310 end_line = tflags;
321 if(!(tflags&NO_BRACKET))
348 if(!(tflags&NO_BRACKET))