Fix parsing of percent tokens with unicode separators
This commit is contained in:
parent
4c0adfaf4a
commit
e2c1d44a7f
|
@ -205,7 +205,7 @@ Token parse_percent_token(Reader& reader)
|
|||
{
|
||||
++reader;
|
||||
const auto type_start = reader.pos;
|
||||
while (reader and isalpha(*reader))
|
||||
while (reader and iswalpha(*reader))
|
||||
++reader;
|
||||
StringView type_name = reader.substr_from(type_start);
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
:exec i %дabcд <lt>esc> <ret>
|
||||
:exec i %•abc• <lt>esc> <ret>
|
||||
|
|
Loading…
Reference in New Issue
Block a user