diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lexer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lexer.c b/src/lexer.c index 5196c64..6aa59c5 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -1,6 +1,7 @@ #include <assert.h> #include <errno.h> #include <inttypes.h> +#include <limits.h> #include <stdalign.h> #include <stdbool.h> #include <stddef.h> @@ -19,7 +20,8 @@ # define unlikely(x) (x) #endif -#define SIZE_WDTH (sizeof(size_t) * 8) +#define LEXEMES_DFLT_CAP (2048) +#define SIZE_WDTH (sizeof(size_t) * CHAR_BIT) static bool skip_comment(const uchar **, const uchar *); |