Unverified Commit 1e5de7d7 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix typo

Introduced in 4c14dc3f.
parent 4c14dc3f
......@@ -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())))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment