aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js_lexer.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/js_lexer.zig b/src/js_lexer.zig
index b6917ce84..43240deef 100644
--- a/src/js_lexer.zig
+++ b/src/js_lexer.zig
@@ -189,10 +189,6 @@ pub fn NewLexer(comptime json_options: JSONOptions) type {
// }
}
- pub fn codePointEql(self: *LexerType, a: u8) bool {
- return @intCast(CodePoint, a) == self.code_point;
- }
-
/// Look ahead at the next n codepoints without advancing the iterator.
/// If fewer than n codepoints are available, then return the remainder of the string.
fn peek(it: *LexerType, n: usize) string {