From 75068e7d753cf6cbe45a4bf294000dca9bd41d8b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Sep 2006 21:06:23 +0000 Subject: * Use a proper namespace. * Optimise header file usage a bit. * Compile the parser as C++. --- src/libexpr/nixexpr.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/libexpr/nixexpr.cc') diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc index fac2c0e5c0b7..b7ccb656cf35 100644 --- a/src/libexpr/nixexpr.cc +++ b/src/libexpr/nixexpr.cc @@ -1,11 +1,14 @@ #include "nixexpr.hh" #include "derivations.hh" - +#include "util.hh" #include "nixexpr-ast.hh" #include "nixexpr-ast.cc" +namespace nix { + + string showPos(ATerm pos) { ATerm path; @@ -332,3 +335,6 @@ string showValue(Expr e) /* !!! incomplete */ return ""; } + + +} -- cgit 1.4.1