parent
7f5117b7cc
commit
d561b9cb2d
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ void builder::node(string str, bool add_space) {
|
||||||
string::size_type n, m;
|
string::size_type n, m;
|
||||||
string s(move(str));
|
string s(move(str));
|
||||||
|
|
||||||
|
if ((n = s.size()) > 2 && s[0] == '"' && s[n - 1] == '"') {
|
||||||
|
s = s.substr(1, n - 2);
|
||||||
|
}
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if (s.empty()) {
|
if (s.empty()) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue