Check if __sulong_funcs_on_exit is defined and only then call it. This avoids a problem if the parser itself throws an exception, because in this case there is no __sulong_funcs_on_exit and the exception about the missing function would mask the parser exception.
Check if
__sulong_funcs_on_exit
is defined and only then call it. This avoids a problem if the parser itself throws an exception, because in this case there is no__sulong_funcs_on_exit
and the exception about the missing function would mask the parser exception.