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