diff options
Diffstat (limited to 'src/tokenizer.cpp')
| -rw-r--r-- | src/tokenizer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tokenizer.cpp b/src/tokenizer.cpp index c7c423512..f7a4d5cf1 100644 --- a/src/tokenizer.cpp +++ b/src/tokenizer.cpp @@ -346,6 +346,8 @@ void advance_to_next_rune(Tokenizer *t) { } TokenizerInitError init_tokenizer(Tokenizer *t, String fullpath) { + PROF_PROC(); + char *c_str = gb_alloc_array(gb_heap_allocator(), char, fullpath.len+1); memcpy(c_str, fullpath.text, fullpath.len); c_str[fullpath.len] = '\0'; |