Skip to content
Snippets Groups Projects
Verified Commit 1e5de7d7 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix typo

Introduced in 4c14dc3f.
parent 4c14dc3f
Branches
No related tags found
No related merge requests found
......@@ -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())))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment