From 28b0b90f965f08c6363555b6e672da807f9faf7a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 Sep 2009 10:47:42 +0200 Subject: Open output files and generate boilerplate code --- cli/cli.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/cli.cxx') diff --git a/cli/cli.cxx b/cli/cli.cxx index 3d54452..3a38782 100644 --- a/cli/cli.cxx +++ b/cli/cli.cxx @@ -56,4 +56,10 @@ int main (int argc, char* argv[]) // return 1; } + catch (generator::failed const&) + { + // Diagnostics has already been issued by the generator. + // + return 1; + } } -- cgit v1.1