From cde4f74ed9dffa1415d9021c343eb599e8866b4d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 14 Sep 2024 18:10:53 +0200 Subject: Update the grammar a bit --- src/tree_sitter/parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tree_sitter') diff --git a/src/tree_sitter/parser.h b/src/tree_sitter/parser.h index 17f0e94..799f599 100644 --- a/src/tree_sitter/parser.h +++ b/src/tree_sitter/parser.h @@ -47,6 +47,7 @@ struct TSLexer { uint32_t (*get_column)(TSLexer *); bool (*is_at_included_range_start)(const TSLexer *); bool (*eof)(const TSLexer *); + void (*log)(const TSLexer *, const char *, ...); }; typedef enum { -- cgit v1.2.3