From f5c5b05f12d9c3e92e26baf3390689fad75f42b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Mon, 31 May 2021 18:20:32 +0200
Subject: [PATCH] The xls_sheet option now takes a quoted string as value

Recommend that syntax in the manual, but keep the old one for backward
compatibility.

Ref. preprocessor#67
---
 doc/manual/source/the-model-file.rst | 14 +++++++-------
 preprocessor                         |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index 77d723994f..c6f755bee3 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -5051,7 +5051,7 @@ block decomposition of the model (see :opt:`block`).
        subdirectory of a directory, you must quote the
        argument. Default: ``<mod_file>``.
 
-    .. option:: xls_sheet = NAME
+    .. option:: xls_sheet = QUOTED_STRING
 
        The name of the sheet with the data in an Excel file.
 
@@ -7772,9 +7772,9 @@ Shock Decomposition
 
         See :opt:`diffuse_filter <diffuse_filter>`.
 
-    .. option:: xls_sheet = NAME
+    .. option:: xls_sheet = QUOTED_STRING
 
-        See :opt:`xls_sheet <xls_sheet = NAME>`.
+        See :opt:`xls_sheet <xls_sheet = QUOTED_STRING>`.
 
     .. option:: xls_range = RANGE
 
@@ -8468,9 +8468,9 @@ Dynare can also run the smoother on a calibrated model:
 
         See :opt:`diffuse_kalman_tol <diffuse_kalman_tol = DOUBLE>`.
 
-    .. option:: xls_sheet = NAME
+    .. option:: xls_sheet = QUOTED_STRING
 
-        See :opt:`xls_sheet <xls_sheet = NAME>`.
+        See :opt:`xls_sheet <xls_sheet = QUOTED_STRING>`.
 
     .. option:: xls_range = RANGE
 
@@ -10899,9 +10899,9 @@ below.
 
         See :ref:`datafile <dataf>`.
 
-    .. option:: xls_sheet = NAME
+    .. option:: xls_sheet = QUOTED_STRING
 
-        See :opt:`xls_sheet <xls_sheet = NAME>`.
+        See :opt:`xls_sheet <xls_sheet = QUOTED_STRING>`.
 
     .. option:: xls_range = RANGE
 
diff --git a/preprocessor b/preprocessor
index 4b401e6253..04f242f971 160000
--- a/preprocessor
+++ b/preprocessor
@@ -1 +1 @@
-Subproject commit 4b401e6253ad417b1379089e83c493374c5f9b7f
+Subproject commit 04f242f971e7a1ff1484b8ab2d56bee487547f00
-- 
GitLab