diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-04T21·06+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-04T21·06+0000 |
commit | 75068e7d753cf6cbe45a4bf294000dca9bd41d8b (patch) | |
tree | c6274cc10caab08349b5585206034f41ca4a575f /src/libexpr/parser.hh | |
parent | aab88127321344d5818d823bff515d127108d058 (diff) |
* Use a proper namespace.
* Optimise header file usage a bit. * Compile the parser as C++.
Diffstat (limited to 'src/libexpr/parser.hh')
-rw-r--r-- | src/libexpr/parser.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libexpr/parser.hh b/src/libexpr/parser.hh index 2af5385f6275..334822b5e0e4 100644 --- a/src/libexpr/parser.hh +++ b/src/libexpr/parser.hh @@ -4,6 +4,9 @@ #include "eval.hh" +namespace nix { + + /* Parse a Nix expression from the specified file. If `path' refers to a directory, the "/default.nix" is appended. */ Expr parseExprFromFile(EvalState & state, Path path); @@ -13,4 +16,7 @@ Expr parseExprFromString(EvalState & state, const string & s, const Path & basePath); +} + + #endif /* !__PARSER_H */ |