diff options
Diffstat (limited to 'cli/cli.cxx')
-rw-r--r-- | cli/cli.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/cli.cxx b/cli/cli.cxx index b070913..39fff16 100644 --- a/cli/cli.cxx +++ b/cli/cli.cxx @@ -29,15 +29,15 @@ int main (int argc, char* argv[]) ifs.exceptions (ifstream::failbit | ifstream::badbit); - Parser parser; - parser.parse (ifs, argv[1]); + parser p; + p.parse (ifs, argv[1]); } catch (std::ios_base::failure const&) { wcerr << argv[1] << ": error: read failure" << endl; return 1; } - catch (Parser::InvalidInput const&) + catch (parser::invalid_input const&) { // Diagnostics has already been issued by the parser. // |