aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/generator.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-10-14 14:06:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-10-14 14:06:48 +0200
commit644c7b372ab61ad600817a4945a96f2bfb0f76e2 (patch)
tree3affbadec3a484884b403e1ef506ce48f5f3605b /xsde/cxx/hybrid/generator.hxx
parent783b167522ccf3aee85969dfb932274914449808 (diff)
Error out if generating parser/serializer for customized type
Diffstat (limited to 'xsde/cxx/hybrid/generator.hxx')
-rw-r--r--xsde/cxx/hybrid/generator.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xsde/cxx/hybrid/generator.hxx b/xsde/cxx/hybrid/generator.hxx
index 805e282..a910a0c 100644
--- a/xsde/cxx/hybrid/generator.hxx
+++ b/xsde/cxx/hybrid/generator.hxx
@@ -32,6 +32,8 @@ namespace CXX
class Generator
{
public:
+ struct Failed {};
+
static Void
usage ();
@@ -79,8 +81,6 @@ namespace CXX
// Generate code.
//
- struct Failed {};
-
static UnsignedLong
generate_tree (
CLI::Options const&,