Commit ec711914 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #3071 from ksss/symbol

symname_p support `!~`
parents 20ebe9c5 af21b365
...@@ -354,7 +354,9 @@ symname_p(const char *name) ...@@ -354,7 +354,9 @@ symname_p(const char *name)
if (*++m == '*') ++m; if (*++m == '*') ++m;
break; break;
case '!': case '!':
if (*++m == '=') ++m; switch (*++m) {
case '=': case '~': ++m;
}
break; break;
case '+': case '-': case '+': case '-':
if (*++m == '@') ++m; if (*++m == '@') ++m;
......
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