diff options
Diffstat (limited to 'src/libexpr/parser.hh')
-rw-r--r-- | src/libexpr/parser.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libexpr/parser.hh b/src/libexpr/parser.hh index 3f430eb32539..d1e531ca2921 100644 --- a/src/libexpr/parser.hh +++ b/src/libexpr/parser.hh @@ -9,11 +9,10 @@ namespace nix { /* Parse a Nix expression from the specified file. If `path' refers to a directory, then "/default.nix" is appended. */ -Expr parseExprFromFile(EvalState & state, Path path); +Expr * parseExprFromFile(Path path); /* Parse a Nix expression from the specified string. */ -Expr parseExprFromString(EvalState & state, const string & s, - const Path & basePath); +Expr * parseExprFromString(const string & s, const Path & basePath); } |