THURSDAY, SEPTEMBER 24, 2026
cobol
Cobol exception handler reports correct source file
Cobol exception handler now reports the correct source file that raised the exception.
The default exception handler in libgcobol previously reported the current program’s name instead of the file where the exception occurred. This change corrects the handler to use the ec_status.source_file field, ensuring accurate diagnostic reporting.
In Details
The default exception handler in libgcobol/libgcobol.cc was incorrectly reporting the current program name instead of the source file associated with the exception condition status. This commit updates the handler to use ec_status.source_file for accurate reporting.