summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorHaniel Barbosa <hanielbbarbosa@gmail.com>2019-11-29 23:46:55 -0300
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-11-29 20:46:55 -0600
commit9bf87b8b5572bbfc110018081b28ad0a88b8a619 (patch)
tree58cc585d02302c19ab1ea0f393e06ea856ab1758 /src/base
parentaada92b267faf9c6388833ae206e421aee18a794 (diff)
improving parsing error messages related to HOL (#3510)
Diffstat (limited to 'src/base')
-rw-r--r--src/base/exception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/exception.h b/src/base/exception.h
index 704ca928e..0d1abd9e0 100644
--- a/src/base/exception.h
+++ b/src/base/exception.h
@@ -128,7 +128,7 @@ template <class T> inline void CheckArgument(bool cond, const T& arg,
template <class T> inline void CheckArgument(bool cond, const T& arg CVC4_UNUSED,
const char* tail CVC4_UNUSED) {
if(__builtin_expect( ( !cond ), false )) { \
- throw ::CVC4::IllegalArgumentException("", "", ""); \
+ throw ::CVC4::IllegalArgumentException("", "", tail); \
} \
}
template <class T> inline void CheckArgument(bool cond, const T& arg)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback