Joel E. Denny
83b60c97ee
Make it easier to write deterministic tests.
...
Continues Akim's work from his 2009-06-10 commits.
* src/reader.c (check_and_convert_grammar): Don't add any
symbols after the first symbols_do invocation.
* src/symtab.c (symbols_sorted): New static global.
(user_token_number_redeclaration): Update comments.
(symbol_from_uniqstr): If a new symbol is being created, assert
that symbols_sorted hasn't been allocated yet.
(symbols_free): Free symbols_sorted.
(symbols_cmp, symbols_cmp_qsort): New functions.
(symbols_do): Sort symbol_table into symbols_sorted on first
invocation.
* tests/input.at (Numbered tokens): Recombine tests now that the
output should be deterministic across multiple numbers.
2009-08-13 01:24:18 -04:00
..
2008-11-16 19:46:16 +01:00
2008-11-16 19:46:16 +01:00
2009-04-21 05:59:36 -04:00
2009-04-21 05:59:36 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-04-20 23:17:51 +02:00
2009-04-20 23:17:51 +02:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-04-30 03:43:58 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-07-15 04:41:38 -04:00
2009-04-30 03:43:58 -04:00
2009-08-04 20:22:30 -04:00
2009-08-04 20:22:30 -04:00
2009-08-06 19:17:44 -04:00
2006-10-12 23:29:52 +00:00
2009-04-21 05:59:36 -04:00
2009-04-21 05:59:36 -04:00
2009-04-21 05:59:36 -04:00
2009-04-21 05:59:36 -04:00
2009-07-24 10:13:59 -04:00
2009-04-21 06:00:09 -04:00
2009-08-12 14:12:13 +02:00
2009-04-03 03:55:08 -04:00
2009-06-10 10:38:42 +02:00
2009-08-06 19:17:44 -04:00
2009-08-04 20:22:30 -04:00
2009-04-30 03:43:58 -04:00
2009-06-11 14:42:12 +02:00
2009-05-23 02:37:22 -04:00
2009-08-04 20:22:30 -04:00
2009-08-04 20:22:30 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-10 22:22:01 -04:00
2009-08-06 19:17:44 -04:00
2009-07-04 21:29:06 +03:00
2009-07-04 21:29:06 +03:00
2009-07-04 21:26:20 +03:00
2009-08-06 19:17:44 -04:00
2009-08-04 20:22:30 -04:00
2009-06-11 14:53:05 +02:00
2009-08-06 19:17:44 -04:00
2009-04-30 02:48:47 -04:00
2009-08-04 20:22:30 -04:00
2009-08-13 01:24:18 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-04-21 05:59:36 -04:00
2009-04-21 05:59:36 -04:00
2008-11-15 10:47:15 +01:00
2009-08-06 19:17:44 -04:00
2009-08-08 18:10:23 +03:00
2008-11-15 10:47:15 +01:00
2009-08-06 19:17:44 -04:00
2009-08-10 22:22:01 -04:00
2008-11-15 10:47:15 +01:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-06-11 14:42:12 +02:00
2009-04-21 06:00:09 -04:00
2009-08-06 19:17:44 -04:00
2009-08-06 19:17:44 -04:00
2009-08-13 01:24:18 -04:00
2009-08-10 22:22:01 -04:00
2009-08-06 19:17:44 -04:00
2009-04-30 02:48:47 -04:00
2009-04-23 04:18:13 -04:00
2009-06-25 06:06:38 +02:00
2009-06-10 10:38:42 +02:00