diff options
Diffstat (limited to 'tests/lexer/driver.cxx')
-rw-r--r-- | tests/lexer/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lexer/driver.cxx b/tests/lexer/driver.cxx index 8ba71a5..5575956 100644 --- a/tests/lexer/driver.cxx +++ b/tests/lexer/driver.cxx @@ -161,7 +161,7 @@ lex (const char* s) { r.push_back ("<lexer error>"); } - catch (const std::ios_base::failure&) + catch (const io_error&) { r.push_back ("<io error>"); } |