implemented symobl-destructors for bison in case of parsing errors