Changed name of a local variable to hopefully suppress gcc3.4 error

[SVN r21300]
This commit is contained in:
John Maddock
2003-12-17 12:05:59 +00:00
parent b84b17b3c4
commit 39f1fb4d17

View File

@ -322,18 +322,18 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::match_startmark(
// we need to unpack them, and insert them
// 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;
for(i = 0; i < tm.size(); ++i)
for(i = 0; i < temp_match.size(); ++i)
(*m_presult)[i].get_captures().clear();
// match everything else:
r = match_all_states();
// 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;
seq& s1 = (*m_presult)[i].get_captures();
const seq& s2 = tm[i].captures();
const seq& s2 = temp_match[i].captures();
s1.insert(
s1.end(),
s2.begin(),