diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-24T12·34+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-24T12·34+0100 |
commit | b584a0e7dea6fd903f8a285ee3a997ba535b44a7 (patch) | |
tree | 8ec27a4865126929da9ea12bffc9f2cb9f114f9c /src/libexpr/nixexpr.hh | |
parent | bf2adf72c4fb4e04afb95ad3b2ad84c19707f246 (diff) | |
parent | 6498adb002bcf7e715afe46c23b8635d4592c156 (diff) |
Merge pull request #816 from tsion/incomplete-parse
Throw a specific error for incomplete parse errors.
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r-- | src/libexpr/nixexpr.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index 5e7bc40c85c9..d2ca09b3a5bb 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -11,6 +11,7 @@ namespace nix { MakeError(EvalError, Error) MakeError(ParseError, Error) +MakeError(IncompleteParseError, ParseError) MakeError(AssertionError, EvalError) MakeError(ThrownError, AssertionError) MakeError(Abort, EvalError) |