Re: yacc print_grammar(): loop -> fprintf()

2018-01-03 Thread Anders Andersson
On Wed, Jan 3, 2018 at 1:58 PM, Michael W. Bombardieri wrote: > Hello, > > In yacc the function print_grammar() writes the file y.output if > the -v option is used. fprintf() can be used directly for writing > "spacing" space characters of indentation so a loop can be removed. > > - Michael > > >

yacc print_grammar(): loop -> fprintf()

2018-01-03 Thread Michael W. Bombardieri
Hello, In yacc the function print_grammar() writes the file y.output if the -v option is used. fprintf() can be used directly for writing "spacing" space characters of indentation so a loop can be removed. - Michael Index: reader.c ===