[fpc-devel] Minor debate with ISO standard on case blocks
thaddy
thaddy at localhost
Tue Jul 30 10:54:29 CEST 2019
On 2019-07-30 10:23, Michael Van Canneyt wrote:
>> Just interpreting the standard, I think that the error should be
>> run-time, not compile-time (although definitely keep the warning).
>> That's just my take on it though. If it is to be changed, it should
>> be simple enough by configuring the 'elselabel' field to point to an
>> error-raising routine rather than 'endlabel' (which occurs if there's
>> no else block).
>
> I tend to agree with your reading of the spec.
>
> Michael.
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
I solved it by having iso use the same codepath as extended pascal
More information about the fpc-devel
mailing list