From 516f0bf41f6d41270944749a97a83f1abb09d237 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 21 Apr 2022 17:38:41 +0200
Subject: [PATCH] Fix bug in new estimation syntax introduced in
 7280c9264260b9e26c84b48b10dcb0651af0b8d3

---
 src/DynareBison.yy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/DynareBison.yy b/src/DynareBison.yy
index 161b74b6..caa7d611 100644
--- a/src/DynareBison.yy
+++ b/src/DynareBison.yy
@@ -2072,8 +2072,8 @@ options_options : o_jscale
                 ;
 
 options_eq : options_eq_opt EQUAL options_eq_opt ';'
-             { driver.copy_prior(get<0>($1), get<1>($1), get<2>($1), get<3>($1),
-                                 get<0>($3), get<1>($3), get<2>($3), get<3>($3)); }
+             { driver.copy_options(get<0>($1), get<1>($1), get<2>($1), get<3>($1),
+                                   get<0>($3), get<1>($3), get<2>($3), get<3>($3)); }
            ;
 
 options_eq_opt : symbol '.' OPTIONS
-- 
GitLab