Subject: Re: [Boost-docs] quickbook template expansion problem?
From: Joel de Guzman (joel_at_[hidden])
Date: 2007-07-31 01:55:37
John Maddock wrote:
> I'm trying to write a template like this:
> [template snippet[name]
> [import ../example/[name].cpp]
> So I can then just write:
> [snippet policy_eg_2]
> and have it insert the marked up contents of policy_eg_2.cpp at that point,
> but I get:
> c:/data/boost/boost/sandbox/math_toolkit/libs/math/example/[name: error:
> Could not open input file.
> So there seems to be an issue with template expansion in this case?
> Or am I missing something?
Looks like a bug indeed. Will investigate. Ah I know!
The rule that handles the filename does not accept
phrases (and template expansion). Should be an easy fix,
but there's quite a lot of these old quirks. I need some
time to devise a good strategy.
Cheers and pies,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC