From 42e2f77e4a22fa30c8e699bd3541404580f636a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 21 Dec 2023 11:20:27 +0100
Subject: [PATCH] Emacs mode: add IRF matching keywords

---
 scripts/dynare.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/dynare.el b/scripts/dynare.el
index 879b9aa898..88a8b59d33 100644
--- a/scripts/dynare.el
+++ b/scripts/dynare.el
@@ -88,7 +88,7 @@
   '("stderr" "values" "periods" "scales" "restriction" "exclusion"
     "upper_cholesky" "lower_cholesky" "equation" "bind" "relax" "error_bind"
     "error_relax" "add" "multiply" "target" "auxname_target_nonstationary"
-    "component" "growth" "auxname" "kind")
+    "component" "growth" "auxname" "kind" "weights")
   "Dynare statements-like keywords.")
 
 ;; Those keywords that makes the lexer enter the DYNARE_BLOCK start condition
@@ -105,7 +105,8 @@
       "deterministic_trends" "optim_weights" "homotopy_setup"
       "conditional_forecast_paths" "svar_identification" "moment_calibration"
       "irf_calibration" "ramsey_constraints" "generate_irfs" "matched_moments"
-      "occbin_constraints" "model_replace" "pac_target_info" "verbatim")
+      "occbin_constraints" "model_replace" "pac_target_info" "matched_irfs"
+      "matched_irfs_weights" "verbatim")
     "Dynare block keywords."))
 
 ;; Mathematical functions and operators used in model equations (see "hand_side" in Bison file)
-- 
GitLab