diff options
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r-- | build2/parser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx index 1bc3519..05a2594 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -4,7 +4,7 @@ #include <build2/parser> -#include <iostream> +#include <iostream> // cout #include <build2/version> @@ -821,7 +821,7 @@ namespace build2 lexer_ = ol; path_ = op; } - catch (const ifdstream::failure& e) + catch (const io_error& e) { fail (l) << "unable to read buildfile " << p << ": " << e.what (); } @@ -957,7 +957,7 @@ namespace build2 lexer_ = ol; path_ = op; } - catch (const ifdstream::failure& e) + catch (const io_error& e) { fail (l) << "unable to read buildfile " << p << ": " << e.what (); } |