From 3d709982b66314b23b5957041580dd4918561a53 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 6 Feb 2022 18:11:03 +0800 Subject: Add a script to build for debugging purposes I think this is a better practice than the previously used hard-coded configure option. --- src/test/check_cnp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/test/check_cnp.c') diff --git a/src/test/check_cnp.c b/src/test/check_cnp.c index f01a68c..5a9e720 100644 --- a/src/test/check_cnp.c +++ b/src/test/check_cnp.c @@ -54,7 +54,7 @@ print_label6(pair6 label) add_to_list(rules, rule); \ } while (0) -#define GRAMMAR 4 +#define GRAMMAR 2 int main(int UNUSED argc, char ** UNUSED argv) @@ -183,7 +183,8 @@ main(int UNUSED argc, char ** UNUSED argv) string = new_utf8("aab", 3); break; case 2: - string = new_utf8("[[[[[[[[[[[[[[[[[[[[[[[++[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]--]]]]]]]]]]]]]]]]]]]]]]]", 204); + /* taken from Wikipedia: */ + string = new_utf8("++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.", 106); break; case 3: string = new_utf8("bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", 100); -- cgit v1.2.3-18-g5258