title: How to tell flex and bison to stop processing input?
body: <p>What is the best way to flex and bison to stop processing when an error is encountered.  If I call yyerror, it does not stop scanning and parsing my file.  While the input is syntactically correct, there is an user error, such as they tried to load the same file twice.  Once I am out of flex/bison, then my program will return an error to the user and the program should keep running.  I assume that throwing a C++ exception would probably break something?</p>