Lines 1727-1733
static char *readstr_upto(scheme *sc, ch
Link Here
|
1727 |
c = inchar(sc); |
1727 |
c = inchar(sc); |
1728 |
len = g_unichar_to_utf8(c, p); |
1728 |
len = g_unichar_to_utf8(c, p); |
1729 |
p += len; |
1729 |
p += len; |
1730 |
} while (c && !is_one_of(delim, c)); |
1730 |
} while ((p - sc->strbuff < sizeof(sc->strbuff)) && |
|
|
1731 |
(c && !is_one_of(delim, c))); |
1731 |
|
1732 |
|
1732 |
if(p==sc->strbuff+2 && c_prev=='\\') |
1733 |
if(p==sc->strbuff+2 && c_prev=='\\') |
1733 |
*p = '\0'; |
1734 |
*p = '\0'; |