/*
 * OpenComal -- a free Comal implementation
 *
 * This file is part of the OpenComal package.
 * (c) Copyright 1992-2024 Jos Visser <josvisser66@gmail.com>
 *
 * The OpenComal package is covered by the GNU General Public
 * License. See doc/LICENSE for more information.
 */

/* OpenComal expression evaluation header file */

extern void *exp_lval(struct expression *exp, enum VAL_TYPE *type,
                      struct var_item **var, long *strlen);

extern void calc_exp(struct expression *exp, void **result,
                     enum VAL_TYPE *type);

extern long calc_intexp(struct expression *exp);

extern int calc_logexp(struct expression *exp);
