diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,14 +22,14 @@ int main(int argc, char** argv) { try { file >> main_parser; - } catch (exception e) { + } catch (ParserException & e) { cout << "Parser error: " << e.what() << endl; return EXIT_FAILURE; } // try { // circuit.run(); - // } catch (exception e) { + // } catch (exception& e) { // cout << "Circuit error: " << e.what() << endl; // return EXIT_FAILURE; // } |