From d12531b8c82d7c728df660f9268df993079ba261 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 20 Jun 2012 10:06:20 +0200 Subject: Add forward declarations for parser to allow custom specializations --- cli/runtime-header.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli') 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 " << endl + << "struct parser;" + << endl; + ctx.cli_close (); } -- cgit v1.1