LazUtils: Masks: TMaskFailCause enums do not need to be indexed.

This commit is contained in:
Bart 2021-10-29 16:59:58 +02:00
parent f36b66d291
commit 742a4e8299

View File

@ -46,11 +46,11 @@ type
end;
TMaskFailCause = (
mfcSuccess=0,
mfcMatchStringExhausted=1,
mfcMaskExhausted=2,
mfcMaskNotMatch=3,
mfcUnexpectedEnd=4
mfcSuccess,
mfcMatchStringExhausted,
mfcMaskExhausted,
mfcMaskNotMatch,
mfcUnexpectedEnd
);
TMaskOpCode=(mocAnyChar, //treat ? as a wildcard to match exactly one char