summaryrefslogtreecommitdiff
path: root/src/func.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-04-24 06:00:28 (GMT)
committerMarius Kintel <marius@kintel.net>2013-04-24 06:00:28 (GMT)
commitb5922d7551340d53551e48c01aa09af33e94c317 (patch)
tree862084764cff82870c3aac0b32e7106ec9518970 /src/func.cc
parent6a87dd5cfa0a272f978e1b22ca59f1c8c55505a7 (diff)
parentf0ee85e17d474ab9119f82ee6f802d4634743b12 (diff)
Merge branch 'master' into issue116
Diffstat (limited to 'src/func.cc')
-rw-r--r--src/func.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/func.cc b/src/func.cc
index f2c9835..88bf3c8 100644
--- a/src/func.cc
+++ b/src/func.cc
@@ -449,7 +449,7 @@ Value builtin_search(const Context *, const EvalContext *evalctx)
if (num_returns_per_match > 1 && matchCount >= num_returns_per_match) break;
}
}
- if (matchCount == 0) PRINTB(" search term not found: \"%s\"", findThis.toString()[i]);
+ if (matchCount == 0) PRINTB(" WARNING: search term not found: \"%s\"", findThis.toString()[i]);
if (num_returns_per_match == 0 || num_returns_per_match > 1) {
returnvec.push_back(Value(resultvec));
}
@@ -478,10 +478,10 @@ Value builtin_search(const Context *, const EvalContext *evalctx)
}
if (num_returns_per_match == 1 && matchCount == 0) {
if (findThis.toVector()[i].type() == Value::NUMBER) {
- PRINTB(" search term not found: %s",findThis.toVector()[i].toDouble());
+ PRINTB(" WARNING: search term not found: %s",findThis.toVector()[i].toDouble());
}
else if (findThis.toVector()[i].type() == Value::STRING) {
- PRINTB(" search term not found: \"%s\"",findThis.toVector()[i].toString());
+ PRINTB(" WARNING: search term not found: \"%s\"",findThis.toVector()[i].toString());
}
returnvec.push_back(Value(resultvec));
}
@@ -490,7 +490,7 @@ Value builtin_search(const Context *, const EvalContext *evalctx)
}
}
} else {
- PRINTB(" search: none performed on input %s", findThis);
+ PRINTB(" WARNING: search: none performed on input %s", findThis);
return Value();
}
return Value(returnvec);
contact: Jan Huwald // Impressum