diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-11-19 17:27:16 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-11-19 17:27:16 +0000 |
commit | 9898746ef3732979bf30e9048021b6232ddf15ac (patch) | |
tree | 77f1391387f0e28f5495104fed3e4227bbeb4af3 /src/libexpr/parser.cc | |
parent | fd7ac09f1073179d9ac439c3e9fb12a1bf00a7d5 (diff) | |
download | guix-9898746ef3732979bf30e9048021b6232ddf15ac.tar.gz |
* nix-env: a tool to manage user environments.
* Replace all directory reading code by a generic readDirectory() function.
Diffstat (limited to 'src/libexpr/parser.cc')
-rw-r--r-- | src/libexpr/parser.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/parser.cc b/src/libexpr/parser.cc index 22d76c263a..e3c863a558 100644 --- a/src/libexpr/parser.cc +++ b/src/libexpr/parser.cc @@ -68,6 +68,8 @@ struct Cleanup : TermFun Expr parseExprFromFile(Path path) { + assert(path[0] == '/'); + #if 0 /* Perhaps this is already an imploded parse tree? */ Expr e = ATreadFromNamedFile(path.c_str()); |