Dear all, I'd like to write a parser, that can be continued with a new input, even if the previous input seemd to be EOF and the last found tokens ended in a not finished "nonterminal"
The background: We have a data structure with some formating information and a 80 char textfield. mystruct {int, int, int, char[80]} In some cases the complete data is stored in more than one textline. I'd like to parse the first line and if the text is incomplete the next line and so on. In the moment I copy all possible lines of text in a char[] and start the parser. In all my tests the scanner (flex) and the parser seemed to be reseted to an initial state, wichh leads to "incomplete Syntax". Any Ideas? Kind Regards Tom _______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison