From 3f954c48ad4cdcdad239b71560592932bb75f870 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" <pesco@khjk.org> Date: Mon, 17 Feb 2020 12:48:49 +0100 Subject: [PATCH] add explanatory text to regression test --- src/t_regression.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/t_regression.c b/src/t_regression.c index 3543e49f..4b1f2bfc 100644 --- a/src/t_regression.c +++ b/src/t_regression.c @@ -429,7 +429,10 @@ static void test_issue92() { * "src/backends/lalr.c", line 341, function "h_lalr_compile" * * the bug happens when trying to compute h_follow() for 6B8 in state 6, - * production "" (*). + * production "" (*). intermediate results could end up in the memoization + * table and be treated as final by later calls to h_follow(). the problem + * could appear or not depending on the order of nonterminals (i.e. pointers) + * in a hashtable. */ int r = h_compile(str, PB_LALR, NULL); g_check_cmp_int(r, ==, 0); -- GitLab