From 8d27845f8caeb5bb5633d1e4b09b2d3c796e1d9a Mon Sep 17 00:00:00 2001 From: Ashe Connor Date: Fri, 1 Dec 2017 19:33:50 +1100 Subject: [PATCH] drop max token len to 32 (#3925) --- ext/linguist/linguist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/linguist/linguist.c b/ext/linguist/linguist.c index ce5fe001..9b5b8ab4 100644 --- a/ext/linguist/linguist.c +++ b/ext/linguist/linguist.c @@ -3,7 +3,7 @@ #include "lex.linguist_yy.h" // Anything longer is unlikely to be useful. -#define MAX_TOKEN_LEN 64 +#define MAX_TOKEN_LEN 32 int linguist_yywrap(yyscan_t yyscanner) { return 1;