Avoid string.clear and string.push_back (#13319)
Compiler "gcc version 2.9-aix51-020209" does not offer them.
This commit is contained in:
parent
1d8199ffec
commit
96b66a4963
|
@ -63,12 +63,12 @@ private:
|
||||||
|
|
||||||
void ParseString()
|
void ParseString()
|
||||||
{
|
{
|
||||||
this->String.clear();
|
this->String = "";
|
||||||
if(!Expect('"')) return;
|
if(!Expect('"')) return;
|
||||||
while (!Expect('"'))
|
while (!Expect('"'))
|
||||||
{
|
{
|
||||||
Expect('\\');
|
Expect('\\');
|
||||||
this->String.push_back(C);
|
this->String.append(1,C);
|
||||||
Next();
|
Next();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue