Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2006-01-04 19:15:57


Bjørn Roald wrote:
> On Tuesday 03 January 2006 23:42, Bjørn Roald wrote:
>
>>On Tuesday 03 January 2006 23:19, Eric Niebler wrote:
>
>>>If you do,
>>>please post code that reproduces the error and I'll fix it. Even if the
>>>recent changes fixed your problem, if you send the code anyway, I'll add
>>>it to xpressive's regression test. (Hint: you should do this.)
>>
>>I will post cleaned up code tomorrow. At least if problem does not go
>>away. Thanks.
>
>
> I had no joy with updating my cvs working area today :-(
> --- see seperate post.
>
> Until I get the latest cvs tested I post the source which I cleaned up
> somewhat, in case you want to use it:
>

<snip>

Thanks for the code. I just tried it locally and it seems to work fine,
so the bug is already fixed. The output I get is:

namespace boost {
gruble "grot}
namespace boost {
gruble "grot
}

(Looks like you'll need to be smart about not matching braces that are
in string literals.)

The current version of xpressive.zip in the Vault contains the fix
you're after. Thanks for the test case -- I'll add it to xpressive's
regression test.

-- 
Eric Niebler
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk