Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/ExceptTranslate.cc

    r6a625de re15853c  
    617617                                return create_terminate_rethrow( throwStmt );
    618618                        } else {
    619                                 abort("Invalid throw in %s at %i\n",
     619                                assertf(false, "Invalid throw in %s at %i\n",
    620620                                        throwStmt->location.filename.c_str(),
    621621                                        throwStmt->location.first_line);
     622                                return nullptr;
    622623                        }
    623624                } else {
     
    627628                                return create_resume_rethrow( throwStmt );
    628629                        } else {
    629                                 abort("Invalid throwResume in %s at %i\n",
     630                                assertf(false, "Invalid throwResume in %s at %i\n",
    630631                                        throwStmt->location.filename.c_str(),
    631632                                        throwStmt->location.first_line);
     633                                return nullptr;
    632634                        }
    633635                }
Note: See TracChangeset for help on using the changeset viewer.