Peter N Lewis wrote:
gpc crashes compiling the following (erroneous) program. It correctly detects the syntax error, and then crashes with the crash report following.
program peterW;
function Doit( Integer(info): Integer ): Integer; begin end;
begin end.
Seems to be a Bison bug (uninitialized usage of yystack->yyerror_range[1]). I will investigate further and report to the Bison maintainers. Thanks for the report.
Frank