From 6f23b167b0c6f9bc9e0eca5c17e29b870256d085 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 22 Jan 2021 14:20:52 +0100
Subject: [PATCH] Fix typo

Introduced in 4c14dc3fbf17bed9cfd66a8d86b5eb57aba39a6e.

(cherry picked from commit 1e5de7d71e78b7151c13190fb1de69340afc6844)
---
 src/macro/Directives.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/macro/Directives.cc b/src/macro/Directives.cc
index dde0b377..d87de87a 100644
--- a/src/macro/Directives.cc
+++ b/src/macro/Directives.cc
@@ -254,7 +254,7 @@ If::interpret(ostream &output, vector<filesystem::path> &paths)
             first_clause = false;
             VariablePtr vp = dynamic_pointer_cast<Variable>(expr);
             if (!vp)
-              error(StackTrace(ifdef ? "@#ifdef" : "@ifndef",
+              error(StackTrace(ifdef ? "@#ifdef" : "@#ifndef",
                                "The condition must be a variable name", location));
             if ((ifdef && env.isVariableDefined(vp->getName()))
                 || (ifndef && !env.isVariableDefined(vp->getName())))
-- 
GitLab