diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-04T22·08+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-04T22·08+0000 |
commit | 4be5443882cfbe7c2aa09b1c373c220400a5133f (patch) | |
tree | 1ca05b183b746d6243fa378f719410447e2584aa /src/libexpr | |
parent | 2382a729e07ae09abb278cc28b137b9c4060101e (diff) |
* Remove unnecessary inclusions of aterm2.h.
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/nixexpr.hh | 2 | ||||
-rw-r--r-- | src/libexpr/parser.y | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index af39997c5ec1..69a47a5adcaf 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -3,8 +3,6 @@ #include <map> -#include <aterm2.h> - #include "aterm-map.hh" #include "types.hh" diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y index 1f141c7bb09a..dd4d509a453b 100644 --- a/src/libexpr/parser.y +++ b/src/libexpr/parser.y @@ -11,14 +11,13 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <aterm2.h> - -#include "parser-tab.hh" -#include "lexer-tab.hh" #include "aterm.hh" #include "util.hh" +#include "parser-tab.hh" +#include "lexer-tab.hh" + #include "nixexpr.hh" #include "nixexpr-ast.hh" @@ -38,7 +37,7 @@ struct ParseData }; -static ATerm fixAttrs(int recursive, ATermList as) +static Expr fixAttrs(int recursive, ATermList as) { ATermList bs = ATempty, cs = ATempty; ATermList * is = recursive ? &cs : &bs; |