Match incorrect literals and flag them as errors.