LR_3+inheritance