From 01e58adce0767f1a484d80fcbcf67c7945cbc146 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 7 May 2010 12:43:57 +0000 Subject: * Store position info for inherited attributes. --- src/libexpr/nixexpr.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libexpr/nixexpr.hh') diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index 36cb4e53c..1c72441b2 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -131,9 +131,10 @@ struct ExprAttrs : Expr { bool recursive; typedef std::pair Attr; + typedef std::pair Inherited; typedef std::map Attrs; Attrs attrs; - list inherited; + list inherited; std::map attrNames; // used during parsing ExprAttrs() : recursive(false) { }; COMMON_METHODS -- cgit v1.2.3