summaryrefslogtreecommitdiff
path: root/src/op.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-10 19:58:06 -1000
committerJohn Wiegley <johnw@newartisans.com>2012-02-11 16:53:31 -1000
commit5e3e204766bc5ce0f6335d12de0c4f0f03f20d00 (patch)
treef5ee338785fb57ab604f267b95370a7539901ad6 /src/op.cc
parent9d1daa27e23864e0238c8fde2b6ad5f45ebe136a (diff)
downloadfork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.tar.gz
fork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.tar.bz2
fork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.zip
Do not evaluate strings as booleans
Diffstat (limited to 'src/op.cc')
-rw-r--r--src/op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op.cc b/src/op.cc
index 893cd834..537f5371 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -366,7 +366,7 @@ value_t expr_t::op_t::calc(scope_t& scope, ptr_op_t * locus, const int depth)
break;
case O_COLON:
- assert(! "We should never calculate an O_COLON operator");
+ assert("We should never calculate an O_COLON operator" == NULL);
break;
case O_CONS: