diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24 16:41:04 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24 16:41:04 +0200 |
commit | 5bc41d78ffcd2952eaddb20ef129f48e94d60cb0 (patch) | |
tree | 86e3fae7ffafd81e5956bccdbea1608effc92dee /src/libexpr/attr-path.cc | |
parent | 9e4bb2045548e2166102f4a8eedf43741e1a6a98 (diff) |
Rename "attribute sets" to "sets"
We don't have any other kind of sets so calling them attribute sets is
unnecessarily verbose.
Diffstat (limited to 'src/libexpr/attr-path.cc')
-rw-r--r-- | src/libexpr/attr-path.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libexpr/attr-path.cc b/src/libexpr/attr-path.cc index d834dcae7..737166435 100644 --- a/src/libexpr/attr-path.cc +++ b/src/libexpr/attr-path.cc @@ -35,15 +35,14 @@ Value * findAlongAttrPath(EvalState & state, const string & attrPath, v = vNew; state.forceValue(*v); - /* It should evaluate to either an attribute set or an - expression, according to what is specified in the - attrPath. */ + /* It should evaluate to either a set or an expression, + according to what is specified in the attrPath. */ if (apType == apAttr) { if (v->type != tAttrs) throw TypeError( - format("the expression selected by the selection path `%1%' should be an attribute set but is %2%") + format("the expression selected by the selection path `%1%' should be a set but is %2%") % curPath % showType(*v)); Bindings::iterator a = v->attrs->find(state.symbols.create(attr)); |