diff options
author | JSDurand <mmemmew@gmail.com> | 2022-02-01 12:22:34 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-02-01 12:22:34 +0800 |
commit | 3fb5430080199a6d92a63f8259fe4a88df9b83ba (patch) | |
tree | 767c3266b59566e98234ec81b228cf8115096939 /src/test/check_grammar.c | |
parent | eb007d554251456a2a508849edf91b15aab1333e (diff) |
need to stop abusing hash tables
Hash tables take too much space!
If I use hash tables, the length of the input will be severely
limited, to an unacceptable extent. So we have to use arrays
instead.
Diffstat (limited to 'src/test/check_grammar.c')
-rw-r--r-- | src/test/check_grammar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/check_grammar.c b/src/test/check_grammar.c index 7e55681..e66b262 100644 --- a/src/test/check_grammar.c +++ b/src/test/check_grammar.c @@ -136,7 +136,7 @@ main(UNUSED int argc, UNUSED char **argv) Grammar *g = new_grammar(); - build_grammar(g, rules, names); + build_grammar(g, rules, names, NULL); print_grammar(g); |