From 1e5de7d71e78b7151c13190fb1de69340afc6844 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. --- 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 0e234234..6fd26157 100644 --- a/src/macro/Directives.cc +++ b/src/macro/Directives.cc @@ -254,7 +254,7 @@ If::interpret(ostream &output, Environment &env, 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