From a9fea692e9d1f4bcdd6a7347a9d17a8b36578a4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 18 Sep 2020 15:20:00 +0200
Subject: [PATCH] Preprocessor: allow 'use_dll' option to be specified on the
 command line

---
 doc/manual/source/running-dynare.rst | 8 ++++++++
 doc/manual/source/the-model-file.rst | 3 ++-
 preprocessor                         | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/doc/manual/source/running-dynare.rst b/doc/manual/source/running-dynare.rst
index 23238168b6..77cc4733b0 100644
--- a/doc/manual/source/running-dynare.rst
+++ b/doc/manual/source/running-dynare.rst
@@ -426,6 +426,14 @@ by the ``dynare`` command.
         understands by default that the model to be solved is
         deterministic.
 
+    .. option:: use_dll
+       :noindex:
+
+        Instructs the preprocessor to create dynamic loadable libraries (DLL)
+        containing the model equations and derivatives, instead of writing
+        those in M-files. This is equivalent to the :opt:`use_dll` option of
+        the ``model`` block.
+
     These options can be passed to the preprocessor by listing them
     after the name of the ``.mod`` file. They can alternatively be
     defined in the first line of the ``.mod`` file, this avoids typing
diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index e188c242ea..4ab202d600 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -928,7 +928,8 @@ The model is declared inside a ``model`` block:
         command (see :ref:`compil-install` for more details).
         Using this option can result in
         faster simulations or estimations, at the expense of some
-        initial compilation time. [#f2]_
+        initial compilation time. Alternatively, this option can be
+        given to the ``dynare`` command (see :ref:`dyn-invoc`). [#f2]_
 
     .. option:: block
 
diff --git a/preprocessor b/preprocessor
index de65e74c8f..98d01cbbb6 160000
--- a/preprocessor
+++ b/preprocessor
@@ -1 +1 @@
-Subproject commit de65e74c8f9e433c0f94c30e1b0aff27c22dc6cd
+Subproject commit 98d01cbbb669b7c5ee37ad6e23b1626ac9cc4dbb
-- 
GitLab