aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/parser.c b/src/parser.c
index 608f670..098962a 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -65,19 +65,6 @@ static void tsl_parser_pop_function(TslParser *self) {
tsl_buffer_pop(&self->function_bytecode_list_index, sizeof(int));
}
-#if 0
-static uint64_t hash_string_view(const void *data, size_t size) {
- uint64_t result = 0xdec05eba;
- const uint8_t *p = data;
- while(size) {
- result = ((result << 5) + result) + *p;
- ++p;
- --size;
- }
- return result;
-}
-#endif
-
static TslParseResult tsl_parser_parse_map(TslParser *self, int *num_items) {
#define parse_map_element_separator \
return_if_error(tsl_tokenizer_accept(&self->tokenizer, TSL_TOKEN_COLON)); \