diff options
author | Mu Qiao <qiaomuf@gentoo.org> | 2011-06-14 16:59:32 +0800 |
---|---|---|
committer | Petteri Räty <petsku@petteriraty.eu> | 2011-06-14 15:58:27 +0300 |
commit | 26c12581f3d21fb2dadd0f6052f204e26305ed23 (patch) | |
tree | 07f352191620eb09b7633bb31f6b822ec1c5ad81 /utils/ast_printer.cpp | |
parent | Parser: Support redirection for all kinds of commands (diff) | |
download | libbash-26c12581f3d21fb2dadd0f6052f204e26305ed23.tar.gz libbash-26c12581f3d21fb2dadd0f6052f204e26305ed23.tar.bz2 libbash-26c12581f3d21fb2dadd0f6052f204e26305ed23.zip |
Core: add namespace for interpreter_exception
The interpreter_exception is part of our public API so we put it under
libbash namespace.
Diffstat (limited to 'utils/ast_printer.cpp')
-rw-r--r-- | utils/ast_printer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ast_printer.cpp b/utils/ast_printer.cpp index e55df78..6fa7c38 100644 --- a/utils/ast_printer.cpp +++ b/utils/ast_printer.cpp @@ -181,7 +181,7 @@ int main(int argc, char** argv) else print_cin(printer); } - catch(interpreter_exception& e) + catch(libbash::interpreter_exception& e) { if(!vm.count("silent")) std::cerr << e.what() << std::endl; |