Skip to content

Commit

Permalink
Accept tildes in identifier names
Browse files Browse the repository at this point in the history
  • Loading branch information
SupernaviX committed Nov 25, 2024
1 parent 0e78407 commit 7aa5a43
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 7aa5a43

Please sign in to comment.