diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-05-07 12:43:57 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-05-07 12:43:57 +0000 |
commit | 01e58adce0767f1a484d80fcbcf67c7945cbc146 (patch) | |
tree | e4d644b176cc3d73ccdb6dc6b1eb671721fff02b /src/libexpr/nixexpr.hh | |
parent | 83d7b89660ebb942ad844b9be260492b2ea9fb24 (diff) | |
download | guix-01e58adce0767f1a484d80fcbcf67c7945cbc146.tar.gz |
* Store position info for inherited attributes.
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r-- | src/libexpr/nixexpr.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index 36cb4e53cd..1c72441b27 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -131,9 +131,10 @@ struct ExprAttrs : Expr { bool recursive; typedef std::pair<Expr *, Pos> Attr; + typedef std::pair<VarRef, Pos> Inherited; typedef std::map<Symbol, Attr> Attrs; Attrs attrs; - list<VarRef> inherited; + list<Inherited> inherited; std::map<Symbol, Pos> attrNames; // used during parsing ExprAttrs() : recursive(false) { }; COMMON_METHODS |