>>> - error ("enumerator value for %qD is not an integer constant",
>>> - name);
>>> + if (value != error_mark_node)
>>> + error ("enumerator value for %qD is not an integer constant",
>>> + name);
>>
>>
>> Hmm, I don't see these errors as redundant, but rather as giving context
>> for the previous error.
>
>
> Even with caret diagnostics?

caret is optional.

> Anyway, I will try to resolve this in a different way.

Reply via email to