mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 06:12:10 +02:00
Changed name of a local variable to hopefully suppress gcc3.4 error
[SVN r21300]
This commit is contained in:
@ -322,18 +322,18 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::match_startmark(
|
|||||||
// we need to unpack them, and insert them
|
// we need to unpack them, and insert them
|
||||||
// back in the right order when we unwind the stack:
|
// back in the right order when we unwind the stack:
|
||||||
//
|
//
|
||||||
match_results<BidiIterator, Allocator> tm(*m_presult);
|
match_results<BidiIterator, Allocator> temp_match(*m_presult);
|
||||||
unsigned i;
|
unsigned i;
|
||||||
for(i = 0; i < tm.size(); ++i)
|
for(i = 0; i < temp_match.size(); ++i)
|
||||||
(*m_presult)[i].get_captures().clear();
|
(*m_presult)[i].get_captures().clear();
|
||||||
// match everything else:
|
// match everything else:
|
||||||
r = match_all_states();
|
r = match_all_states();
|
||||||
// now place the stored captures back:
|
// now place the stored captures back:
|
||||||
for(i = 0; i < tm.size(); ++i)
|
for(i = 0; i < temp_match.size(); ++i)
|
||||||
{
|
{
|
||||||
typedef typename sub_match<BidiIterator>::capture_sequence_type seq;
|
typedef typename sub_match<BidiIterator>::capture_sequence_type seq;
|
||||||
seq& s1 = (*m_presult)[i].get_captures();
|
seq& s1 = (*m_presult)[i].get_captures();
|
||||||
const seq& s2 = tm[i].captures();
|
const seq& s2 = temp_match[i].captures();
|
||||||
s1.insert(
|
s1.insert(
|
||||||
s1.end(),
|
s1.end(),
|
||||||
s2.begin(),
|
s2.begin(),
|
||||||
|
Reference in New Issue
Block a user