Skip to content

Commit

Permalink
Allow tildes in identifier names
Browse files Browse the repository at this point in the history
  • Loading branch information
SupernaviX authored and rvcas committed Nov 25, 2024
1 parent 9d59333 commit 6f1477c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uplc/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 6f1477c

Please sign in to comment.