We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffb84d0 commit ddfcd5fCopy full SHA for ddfcd5f
src/attribute.rs
@@ -98,7 +98,7 @@ impl<'src> Attribute<'src> {
98
};
99
100
let alias = token.lexeme();
101
- let valid_alias = alias.chars().all(|c| c.is_ascii_alphabetic() || c == '_');
+ let valid_alias = alias.chars().all(|c| c.is_ascii_alphanumeric() || c == '_');
102
103
if alias.is_empty() || !valid_alias {
104
return Err(token.error(CompileErrorKind::InvalidAliasName {
0 commit comments