diff options
Diffstat (limited to 'util-tables.c')
-rw-r--r-- | util-tables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-tables.c b/util-tables.c index 507153d..cfebf68 100644 --- a/util-tables.c +++ b/util-tables.c @@ -21,8 +21,8 @@ int **first; void util_tables_fill() { - follow = calloc(total_symbols, sizeof(*follow)); - first = calloc(total_symbols, sizeof(*follow)); + follow = xcalloc(total_symbols, sizeof(*follow)); + first = xcalloc(total_symbols, sizeof(*follow)); for(size_t i = 0; i < total_symbols; i++) { follow[i] = xcalloc(total_symbols, sizeof(*follow[i])); first[i] = xcalloc(total_symbols, sizeof(*follow[i])); |