Re: [quickbook] Why doesn't this work?
Rene Rivera <[email protected]>
| Newsgroups | gmane.comp.lib.boost.documentation |
|---|---|
| Organization | Redshift Software, Inc. |
| Message-ID | <[email protected]> |
On 1/21/2012 5:13 AM, Daniel James wrote: > On 21 January 2012 05:01, Rene Rivera<[email protected]> wrote: >> I'm rather confused.. I keep trying to use templates to reduce some of the >> repetition in doing the tree TR proposal. And I ran into a strange error. >> I've reduced my problem down to this code: >> >> [template tr_ref[id] [link [id] tr]] >> [tr_ref hierarchy.req] > > You can't use templates in link values. Maybe will be able to in 1.7. Well, that's a bummer.. But how does that explain it working in the second case. Where's there still a template in the second link values? >> It produces this error: >> >> x.qbk:2: error: Mismatched code bracket > > I assume that should 'close bracket'. When reporting problems, can you > let me know if you're using 1.6, it makes quite a difference. I'm using 1.7 / dev-branch. > I missed out this case when fixing square bracket handling for 1.6, so > it didn't count for the '[' before 'id' (i.e. parsed it as '[link > \[id]', so the square bracket that should have closed the element > doesn't match an open bracket. I'll fix this on the quickbook-dev > branch and add a more helpful error message. OK. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail