From a3cd9347e6dfd435d3eb7b72395418091276e79c Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 24 Oct 2021 15:53:02 -0700 Subject: [PATCH] :scissors: Dead code --- src/js_lexer.zig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/js_lexer.zig b/src/js_lexer.zig index b6917ce845..43240deef9 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 {