added common.c to hooking main andparse.y