diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c index 7676d2d..0ab9b69 100644 --- a/src/reader.c +++ b/src/reader.c @@ -536,7 +536,7 @@ read_grammar_from_bnf(const str * const restrict s) Grammar *g = new_grammar(); - if (build_grammar(g, rules, names)) { + if (build_grammar(g, rules, names, NULL)) { fleprintf0("Failed to build the grammar\n"); map_list(names, destroy_cpa_and_free_all); destroy_list(names, 0); |