Allow tildes in identifier names
This commit is contained in:
@@ -362,7 +362,7 @@ peg::parser! {
|
||||
}
|
||||
|
||||
rule ident() -> String
|
||||
= i:['a'..='z' | 'A'..='Z' | '0'..='9' | '_' | '\'']+ {
|
||||
= i:['a'..='z' | 'A'..='Z' | '0'..='9' | '_' | '\'' | '~']+ {
|
||||
String::from_iter(i)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user