remove min from scanner.c

This commit is contained in:
danhanson committed 2026-09-06 06:21:55 -05:00
1 parent 9fc72cf891
commit 25c4be568f
1 file changed
-7
-7
View File
@@ -110,13 +110,6 @@ static void reset_scanner(struct Scanner *const scanner) {
/*strncat(_scanner->error, string, ERROR_SIZE - 1);*/\ /*strncat(_scanner->error, string, ERROR_SIZE - 1);*/\
} while(0) } while(0)
#define min(a, b)\
({\
typeof(a) _a = (a);\
typeof(b) _b = (b);\
_a > _b ? _a : _b;\
})
void * tree_sitter_django_external_scanner_create() { void * tree_sitter_django_external_scanner_create() {
return ts_calloc(1, sizeof(struct Scanner)); return ts_calloc(1, sizeof(struct Scanner));
} }