Skip to content

Commit 50ad2cf

Browse files
committed
Add potential identifier char
1 parent 0406b9d commit 50ad2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn cons_str(head: char, tail: &str) -> String {
8282
/// - `*`,
8383
/// - `!`,
8484
fn is_identifier_char(chr: char) -> bool {
85-
chr.is_alphanumeric() || "|?<>+-_=^%&$*!".contains(chr)
85+
chr.is_alphanumeric() || "|?<>+-_=^%&$*!/".contains(chr)
8686
}
8787

8888
/// Returns whether if a character can be in the head of an identifier.

0 commit comments

Comments
 (0)