dimanche 28 août 2016

How to put a final summary message in a yacc program?

When I redirect input to my yacc program from an input file, after it finishes parsing the file I want the yacc parser to print a summary of what it did. I want it to do the same thing if I am entering input through the keyboard and then I press Ctrl+D. Is there a way to do that?

Aucun commentaire:

Enregistrer un commentaire