diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-20 10:06:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-20 10:06:20 +0200 |
commit | d12531b8c82d7c728df660f9268df993079ba261 (patch) | |
tree | d253fa7c43b0ae678c43c4c254decb46ed182a89 | |
parent | e2605ba3c9ca35524b0c86e74ffa37bee548aef3 (diff) |
Add forward declarations for parser to allow custom specializations
-rw-r--r-- | cli/runtime-header.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/runtime-header.cxx b/cli/runtime-header.cxx index 4e9ba59..21d3723 100644 --- a/cli/runtime-header.cxx +++ b/cli/runtime-header.cxx @@ -389,5 +389,12 @@ generate_runtime_header (context& ctx) << "};"; } + // Parser class template. Provide a forward declaration to allow + // custom specializations. + // + os << "template <typename X>" << endl + << "struct parser;" + << endl; + ctx.cli_close (); } |