error recovery
When throwing invalid code or code with COBOL unknown to GCOBOL to gcobol (GCOBOL 13.0.13) 13.0.0 20221216, it seems to directly exit with an error.
Example (starting IDENTIFICATION
in column 1):
cobol1: syntax error, dice.cob line 2 at 'FICATION' cobol1: error: failed compiling dice.cob
It would be nice to have some error recovery (the "easiest" one for COBOL is always skip until next separator perioid), parsing the next lines until -fmax-errors
(which seems to be ignored) is reached.