Skip to content

Commit

Permalink
_ is alphanumeric
Browse files Browse the repository at this point in the history
  • Loading branch information
BalaM314 authored Nov 27, 2023
1 parent c32fc2c commit 78e5938
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SymbolizerIO {
let code = this.at().charCodeAt(0);
return (code >= 48 && code <= 57) ||
(code >= 65 && code <= 90) ||
(code >= 97 && code <= 122);
(code >= 97 && code <= 122) || code === 95;
}
}
export function symbolize(input) {
Expand Down
2 changes: 1 addition & 1 deletion src/lexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class SymbolizerIO {
let code = this.at().charCodeAt(0);
return (code >= 48 && code <= 57) ||
(code >= 65 && code <= 90) ||
(code >= 97 && code <= 122);
(code >= 97 && code <= 122) || code === 95;
}
}

Expand Down

0 comments on commit 78e5938

Please sign in to comment.