aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/parser.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/parser.hh')
-rw-r--r--src/libexpr/parser.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libexpr/parser.hh b/src/libexpr/parser.hh
index 461dae08c..2af5385f6 100644
--- a/src/libexpr/parser.hh
+++ b/src/libexpr/parser.hh
@@ -1,15 +1,15 @@
#ifndef __PARSER_H
#define __PARSER_H
-#include "nixexpr.hh"
+#include "eval.hh"
/* Parse a Nix expression from the specified file. If `path' refers
to a directory, the "/default.nix" is appended. */
-Expr parseExprFromFile(Path path);
+Expr parseExprFromFile(EvalState & state, Path path);
/* Parse a Nix expression from the specified string. */
-Expr parseExprFromString(const string & s,
+Expr parseExprFromString(EvalState & state, const string & s,
const Path & basePath);