From 5974df8914a11a5cbfd2aaa4c3bd6a6bb92e7995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 13 Nov 2024 12:27:02 +0100 Subject: [PATCH] Fix typo in comment [skip ci] --- src/DynareBison.yy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DynareBison.yy b/src/DynareBison.yy index a679f333..74e71be3 100644 --- a/src/DynareBison.yy +++ b/src/DynareBison.yy @@ -1366,7 +1366,7 @@ mshocks : MSHOCKS ';' mshock_list END ';' { driver.end_mshocks(false, false); } | MSHOCKS '(' mshocks_options_list ')' ';' mshock_list END ';' { - /* NB: the following relies of the fact that bool is the first + /* NB: the following relies on the fact that bool is the first alternative in the variant, so that default initialization of the variant by the [] operator will give false */ if ($3.contains("learnt_in")) -- GitLab