raised a hard warning when associativity attribute is assigned to inappropriate productions
minor fix