formatting

This commit is contained in:
r4 2021-12-22 12:57:14 +01:00
parent e7f4773cba
commit b80e5a9c4e
1 changed files with 1 additions and 0 deletions

1
ir.c
View File

@ -19,6 +19,7 @@ const char *irinstr_str[IRInstrEnumSize] = {
#define IRTOKS_INIT_CAP_SHORT 16
static void irtoks_init_with_cap(IRToks *v, size_t cap);
static void irtoks_init_with_cap(IRToks *v, size_t cap) {
v->toks = malloc(sizeof(IRTok) * cap);
v->len = 0;