about summary refs log tree commit diff
path: root/src/libexpr/parser.y
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04T22·08+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04T22·08+0000
commit4be5443882cfbe7c2aa09b1c373c220400a5133f (patch)
tree1ca05b183b746d6243fa378f719410447e2584aa /src/libexpr/parser.y
parent2382a729e07ae09abb278cc28b137b9c4060101e (diff)
* Remove unnecessary inclusions of aterm2.h.
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r--src/libexpr/parser.y9
1 files changed, 4 insertions, 5 deletions
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;