summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-01 14:19:31 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-01 14:19:31 -0500
commit825c98523b8a03733579df33247ab87dae4e3408 (patch)
tree00d908bd7cc0b36607cf9e97ef6062336dbb5db8 /eval.c
parent88e7c92e76ce771e7a1efd4824060e3905194070 (diff)
improved command line arguments for compiler (added -no-color)
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 5c687b2..0b73272 100644
--- a/eval.c
+++ b/eval.c
@@ -688,7 +688,7 @@ static Status eval_ptr_to_struct_field(Evaluator *ev, Expression *dot_expr, void
if (struct_type->kind == TYPE_STRUCT) {
Value struc;
if (!eval_expr(ev, dot_expr->binary.lhs, &struc))
- return NULL;
+ return false;
void *struc_data;
if (is_ptr) {
struc_data = struc.ptr;