Commit 6725c2af authored by Max Kellermann's avatar Max Kellermann

util/format: allow upper case, digits and underscore in names

parent e9d4b73c
......@@ -74,7 +74,8 @@ skip_format(const char *p)
static bool
is_name_char(char ch)
{
return ch >= 'a' && ch <= 'z';
return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') ||
(ch >= '0' && ch <= '9') || ch == '_';
}
static char *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment