summaryrefslogtreecommitdiff
path: root/cli/cli.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-19 10:47:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-19 10:47:42 +0200
commit28b0b90f965f08c6363555b6e672da807f9faf7a (patch)
tree266bb76a474dd87aead1bfba01702b42812c5129 /cli/cli.cxx
parentcb65012eb524eb57b00249f1dee0f245e947cda4 (diff)
Open output files and generate boilerplate code
Diffstat (limited to 'cli/cli.cxx')
-rw-r--r--cli/cli.cxx6
1 files changed, 6 insertions, 0 deletions
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;
+ }
}