add a parent and a leg field in parser symbols