Reformat
This commit is contained in:
parent
6f809194d7
commit
06bb2d95b4
|
@ -39,9 +39,11 @@ void processExpr(EvalState & state, const Strings & attrPaths,
|
||||||
bool parseOnly, bool strict, Bindings & autoArgs,
|
bool parseOnly, bool strict, Bindings & autoArgs,
|
||||||
bool evalOnly, bool xmlOutput, bool location, Expr * e)
|
bool evalOnly, bool xmlOutput, bool location, Expr * e)
|
||||||
{
|
{
|
||||||
if (parseOnly)
|
if (parseOnly) {
|
||||||
std::cout << format("%1%\n") % *e;
|
std::cout << format("%1%\n") % *e;
|
||||||
else
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (Strings::const_iterator, i, attrPaths) {
|
foreach (Strings::const_iterator, i, attrPaths) {
|
||||||
Value v;
|
Value v;
|
||||||
findAlongAttrPath(state, *i, autoArgs, e, v);
|
findAlongAttrPath(state, *i, autoArgs, e, v);
|
||||||
|
|
Loading…
Reference in a new issue