From 34b4815798cbcb922d4265f353b59720adc839e5 Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Sat, 12 Jun 2021 21:44:23 +0200 Subject: [PATCH] Rename `undef` to `flags` --- parse.c | 8 ++++---- parse.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/parse.c b/parse.c index 864cbd5..d0d7023 100644 --- a/parse.c +++ b/parse.c @@ -1159,13 +1159,13 @@ EX_TREE *parse_unary( EX_TREE *parse_expr( char *cp, - int undef) + int flags) { EX_TREE *expr; EX_TREE *value; expr = parse_binary(cp, 0, 0); /* Parse into a tree */ - value = evaluate(expr, undef); /* Perform the arithmetic */ + value = evaluate(expr, flags); /* Perform the arithmetic */ value->cp = expr->cp; /* Pointer to end of text is part of the rootmost node */ free_tree(expr); /* Discard parse in favor of @@ -1182,13 +1182,13 @@ EX_TREE *parse_expr( EX_TREE *parse_unary_expr( char *cp, - int undef) + int flags) { EX_TREE *expr; EX_TREE *value; expr = parse_unary(cp); /* Parse into a tree */ - value = evaluate(expr, undef); /* Perform the arithmetic */ + value = evaluate(expr, flags); /* Perform the arithmetic */ value->cp = expr->cp; /* Pointer to end of text is part of the rootmost node */ free_tree(expr); /* Discard parse in favor of diff --git a/parse.h b/parse.h index ea81f6b..499a249 100644 --- a/parse.h +++ b/parse.h @@ -49,10 +49,10 @@ int get_fp_src_mode( EX_TREE *parse_expr( char *cp, - int undef); + int flags); EX_TREE *parse_unary_expr( char *cp, - int undef); + int flags); int expr_ok( EX_TREE *expr); int parse_float(