I'm using lemon to write a parser for a little language I'm writing. I'm wondering how I indicate to lemon that an error has occurred in processing and an exit is needed. For example, if I have:
stmt(A) ::= NAME(B). { A = malloc(sizeof(stmt)); A->name = B; } If malloc returns NULL, what should I do to escape the parser? -- Regards, Benjamin _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users