mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-27 21:53:21 +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 != '\\')
|
||||
res += '\\';
|
||||
res += c;
|
||||
++pos;
|
||||
}
|
||||
else if (str[pos] == '%')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user