Changeset f26421f for src/main.cc
- Timestamp:
- Feb 11, 2023, 8:12:25 PM (17 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- c97b448
- Parents:
- 966b4c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r966b4c6 rf26421f 40 40 #include "CodeTools/TrackLoc.h" // for fillLocations 41 41 #include "Common/CodeLocationTools.hpp" // for forceFillCodeLocations 42 #include "Common/CompilerError.h" // for CompilerError43 42 #include "Common/DeclStats.hpp" // for printDeclStats 44 43 #include "Common/ResolvProtoDump.hpp" // for dumpAsResolverProto 45 44 #include "Common/Stats.h" // for Stats 46 #include "Common/UnimplementedError.h" // for UnimplementedError47 45 #include "Common/utility.h" // for deleteAll, filter, printAll 48 46 #include "Concurrency/Actors.hpp" // for implementActors … … 480 478 } // if 481 479 return EXIT_FAILURE; 482 } catch ( UnimplementedError & e ) {483 cout << "Sorry, " << e.get_what() << " is not currently implemented" << endl;484 if ( output != &cout ) {485 delete output;486 } // if487 return EXIT_FAILURE;488 } catch ( CompilerError & e ) {489 cerr << "Compiler Error: " << e.get_what() << endl;490 cerr << "(please report bugs to [REDACTED])" << endl;491 if ( output != &cout ) {492 delete output;493 } // if494 return EXIT_FAILURE;495 480 } catch ( std::bad_alloc & ) { 496 481 cerr << "*cfa-cpp compilation error* std::bad_alloc" << endl;
Note: See TracChangeset
for help on using the changeset viewer.