about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-07T13·59+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-07T13·59+0000
commit9a64454faae2ab4ccedeeaad85a0e094726b4765 (patch)
treeaaa6d45f3dcaeead309f86c10feb9c46b9f9d52b /src/libexpr
parentfc92244ba81d884e099d467a3b82fbdcbff7fc40 (diff)
* expr-to-xml -> value-to-xml.
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/Makefile.am4
-rw-r--r--src/libexpr/primops.cc2
-rw-r--r--src/libexpr/value-to-xml.cc (renamed from src/libexpr/expr-to-xml.cc)2
-rw-r--r--src/libexpr/value-to-xml.hh (renamed from src/libexpr/expr-to-xml.hh)6
4 files changed, 7 insertions, 7 deletions
diff --git a/src/libexpr/Makefile.am b/src/libexpr/Makefile.am
index c5f487769b2c..99f742ffec40 100644
--- a/src/libexpr/Makefile.am
+++ b/src/libexpr/Makefile.am
@@ -2,12 +2,12 @@ pkglib_LTLIBRARIES = libexpr.la
 
 libexpr_la_SOURCES = \
  nixexpr.cc eval.cc primops.cc lexer-tab.cc parser-tab.cc \
- get-drvs.cc attr-path.cc expr-to-xml.cc common-opts.cc \
+ get-drvs.cc attr-path.cc value-to-xml.cc common-opts.cc \
  names.cc
 
 pkginclude_HEADERS = \
  nixexpr.hh eval.hh parser.hh lexer-tab.hh parser-tab.hh \
- get-drvs.hh attr-path.hh expr-to-xml.hh common-opts.hh \
+ get-drvs.hh attr-path.hh value-to-xml.hh common-opts.hh \
  names.hh nixexpr-ast.hh
 
 libexpr_la_LIBADD = ../libutil/libutil.la ../libstore/libstore.la \
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 5fa2418b5f90..74eb2b26d068 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -4,7 +4,7 @@
 #include "store-api.hh"
 #include "util.hh"
 #include "archive.hh"
-#include "expr-to-xml.hh"
+#include "value-to-xml.hh"
 #include "nixexpr-ast.hh"
 #include "parser.hh"
 #include "names.hh"
diff --git a/src/libexpr/expr-to-xml.cc b/src/libexpr/value-to-xml.cc
index ad68739c39c0..eff414aba3b5 100644
--- a/src/libexpr/expr-to-xml.cc
+++ b/src/libexpr/value-to-xml.cc
@@ -1,4 +1,4 @@
-#include "expr-to-xml.hh"
+#include "value-to-xml.hh"
 #include "xml-writer.hh"
 #include "nixexpr-ast.hh"
 #include "aterm.hh"
diff --git a/src/libexpr/expr-to-xml.hh b/src/libexpr/value-to-xml.hh
index 8f094185c4cc..7dfbe06d16c6 100644
--- a/src/libexpr/expr-to-xml.hh
+++ b/src/libexpr/value-to-xml.hh
@@ -1,5 +1,5 @@
-#ifndef __EXPR_TO_XML_H
-#define __EXPR_TO_XML_H
+#ifndef __VALUE_TO_XML_H
+#define __VALUE_TO_XML_H
 
 #include <string>
 #include <map>
@@ -14,4 +14,4 @@ void printValueAsXML(EvalState & state, bool strict,
     
 }
 
-#endif /* !__EXPR_TO_XML_H */
+#endif /* !__VALUE_TO_XML_H */