[fpc-pascal] case statement
Adriaan van Os
adriaan at adriaan.biz
Fri Dec 15 14:09:45 CET 2023
Michael Van Canneyt via fpc-pascal wrote:
>>> The fact that the semicolon before the else is optional ?
>>
>> I don't see a semicolon in the formal syntax.
>
> This works:
OK, than an optional semicolon must be added to the <exceptionhandlers> rule
exceptionhandlers = [ exception-handler { ";" exception-handler } [ ";" ] [ "ELSE" statement-list
] | statement-list ] .
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list