sanity check as they might obviously fail.
Fix an assert found by jasper@ with AFL++ (port coming soon!).
ok jasper@
-/* $OpenBSD: bt_parse.y,v 1.37 2021/08/31 12:51:24 mpi Exp $ */
+/* $OpenBSD: bt_parse.y,v 1.38 2021/09/07 19:18:08 mpi Exp $ */
/*
* Copyright (c) 2019-2021 Martin Pieuchot <mpi@openbsd.org>
yylval.lineno = 1;
yyparse();
+ if (perrors)
+ return perrors;
assert(SLIST_EMPTY(&l_variables));
- return perrors;
+ return 0;
}