* Revert r27114, it seems to break stuff.
This commit is contained in:
parent
c54c804dc9
commit
e080af3daa
|
@ -49,17 +49,13 @@ static void tryJobAlts(EvalState & state, XMLWriter & doc,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Formals::Formals_::iterator next = cur; ++next;
|
|
||||||
|
|
||||||
AutoArgs::const_iterator a = argsLeft.find(cur->name);
|
AutoArgs::const_iterator a = argsLeft.find(cur->name);
|
||||||
|
|
||||||
if (a == argsLeft.end()) {
|
if (a == argsLeft.end())
|
||||||
if (!cur->def)
|
throw TypeError(format("job `%1%' requires an argument named `%2%'")
|
||||||
throw TypeError(format("job `%1%' requires an argument named `%2%'")
|
% attrPath % cur->name);
|
||||||
% attrPath % cur->name);
|
|
||||||
tryJobAlts(state, doc, argsUsed, argsLeft, attrPath, fun, next, last, actualArgs);
|
Formals::Formals_::iterator next = cur; ++next;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int n = 0;
|
int n = 0;
|
||||||
foreach (ValueList::const_iterator, i, a->second) {
|
foreach (ValueList::const_iterator, i, a->second) {
|
||||||
|
|
Loading…
Reference in a new issue