Fix parser using wrong token kinds for object inheritance.