From 3e5591d41f0fdb8b5f898aa46a5ff7327f269cfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Mon, 16 Oct 2023 11:57:02 -0400
Subject: [PATCH] =?UTF-8?q?New=20=E2=80=9Cstatic=5Fmfs=E2=80=9D=20option?=
 =?UTF-8?q?=20to=20the=20=E2=80=9Cmodel=E2=80=9D=20block=20(and=20the=20?=
 =?UTF-8?q?=E2=80=9Cmodel=5Foptions=E2=80=9D=20command)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 doc/manual/source/the-model-file.rst | 14 +++++++++++---
 preprocessor                         |  2 +-
 tests/block_bytecode/lola_common.inc |  2 +-
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index 28d65c287d..f39ba14a79 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -1048,8 +1048,8 @@ The model is declared inside a ``model`` block:
 
     .. option:: mfs = INTEGER
 
-        Controls the handling of minimum feedback set of endogenous
-        variables. Only available with option ``block``. Possible
+        Controls the handling of minimum feedback set of endogenous variables
+        for the dynamic model. Only available with option ``block``. Possible
         values:
 
         ``0``
@@ -1063,7 +1063,7 @@ The model is declared inside a ``model`` block:
             normalized (i.e. of the form :math:`x=f(Y)` where
             :math:`x` does not appear in :math:`Y`) are potentially
             recursive variables. All the other variables are forced to
-            belong to the set of feedback variables. (Default)
+            belong to the set of feedback variables.
 
         ``2``
 
@@ -1081,6 +1081,14 @@ The model is declared inside a ``model`` block:
             other variables are forced to belong to the set of
             feedback variables.
 
+       |br| Default value is ``1``.
+
+    .. option:: static_mfs
+
+        Controls the handling of minimum feedback set of endogenous variables
+        for the static model. Only available with option ``block``. See the
+        ``mfs`` option for the possible values. Default value is ``0``.
+
     .. option:: no_static
 
         Don’t create the static model file. This can be useful for
diff --git a/preprocessor b/preprocessor
index 613a8578ee..6ec7f580d5 160000
--- a/preprocessor
+++ b/preprocessor
@@ -1 +1 @@
-Subproject commit 613a8578eea1a7c729223dedeebf44cdafe1cabf
+Subproject commit 6ec7f580d577848509d07e05f2120d4bab8c32e6
diff --git a/tests/block_bytecode/lola_common.inc b/tests/block_bytecode/lola_common.inc
index 2c3bab87ec..aa51a4ede4 100644
--- a/tests/block_bytecode/lola_common.inc
+++ b/tests/block_bytecode/lola_common.inc
@@ -153,7 +153,7 @@ NBRYb=NBR_iss/(phii_iss*gdp_iss);
 
 
 @#if block
-model(block, mfs=@{mfs});
+model(block, mfs=@{mfs}, static_mfs=@{mfs});
 @#else
 model;
 @#endif
-- 
GitLab