mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-28 14:11:35 +03:00
Fix recursive string parsing, correct handling of escapes
This commit is contained in:
parent
5b27b956ad
commit
047488a8da
@ -292,6 +292,7 @@ String eval(const String& str, Context& context,
|
|||||||
if (c != '%' and c != '\\')
|
if (c != '%' and c != '\\')
|
||||||
res += '\\';
|
res += '\\';
|
||||||
res += c;
|
res += c;
|
||||||
|
++pos;
|
||||||
}
|
}
|
||||||
else if (str[pos] == '%')
|
else if (str[pos] == '%')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user