Commit f4bd1b61 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Fix thinko.


2000-04-06  Jody Goldberg <jgoldberg@home.com>

	* src/expr.c (eval_expr) : Fix thinko.
parent 0edb562f
2000-04-06 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (eval_expr) : Fix thinko.
* src/functions/fn-string.c : Add func 'expression' to return text of
formula.
......
2000-04-06 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (eval_expr) : Fix thinko.
* src/functions/fn-string.c : Add func 'expression' to return text of
formula.
......
2000-04-06 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (eval_expr) : Fix thinko.
* src/functions/fn-string.c : Add func 'expression' to return text of
formula.
......
2000-04-06 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (eval_expr) : Fix thinko.
* src/functions/fn-string.c : Add func 'expression' to return text of
formula.
......
2000-04-06 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (eval_expr) : Fix thinko.
* src/functions/fn-string.c : Add func 'expression' to return text of
formula.
......
2000-04-06 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (eval_expr) : Fix thinko.
* src/functions/fn-string.c : Add func 'expression' to return text of
formula.
......
2000-04-06 Jody Goldberg <jgoldberg@home.com>
* src/expr.c (eval_expr) : Fix thinko.
* src/functions/fn-string.c : Add func 'expression' to return text of
formula.
......
No preview for this file type
......@@ -1088,8 +1088,9 @@ eval_expr (EvalPosition const * const pos, ExprTree const *tree,
{
Value * res = eval_expr_real (pos, tree, flags);
if (res == NULL && !(flags&EVAL_PERMIT_EMPTY))
return value_new_int (0);
if (res == NULL)
return (flags & EVAL_PERMIT_EMPTY)
? NULL : value_new_int (0);
if (res->type == VALUE_EMPTY) {
value_release (res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment