aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/aterm.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-11-18 11:22:29 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-11-18 11:22:29 +0000
commitce92d1bf1434562f5b80320c503768c4d06f1f8d (patch)
tree477c80de94f3c403115f80bad450003946af2889 /src/libutil/aterm.hh
parent9f0f020929c9e093405cc6193d2f227cab763912 (diff)
* "Nix expression" -> "store expression".
* More refactoring.
Diffstat (limited to 'src/libutil/aterm.hh')
-rw-r--r--src/libutil/aterm.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/aterm.hh b/src/libutil/aterm.hh
index 16d8d6bb6..d38d8e3f4 100644
--- a/src/libutil/aterm.hh
+++ b/src/libutil/aterm.hh
@@ -74,4 +74,9 @@ ATMatcher & operator >> (ATMatcher & pos, const string & s);
ATMatcher & operator >> (ATMatcher & pos, ATermList & out);
+/* Throw an exception with an error message containing the given
+ aterm. */
+Error badTerm(const format & f, ATerm t);
+
+
#endif /* !__ATERM_H */