aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-04-08 12:50:27 -0700
committerMichael Forney <mforney@mforney.org>2024-04-08 12:50:27 -0700
commitc05e4ec794f2f32afc5811377aa7d8595da98013 (patch)
tree02c2c75f325039767a0e2f7e73ab8f176c89c63b /util.c
parent1e66f1ce8a8df863042ab54ba6b68bd6d2e52396 (diff)
expr: Remove evalexpr() and just use condexpr() with eval()
evalexpr() was originally named `constexpr`, since it matched the constant-expression rule in the grammar. It had to be renamed due to conflict with the C23 constexpr keyword. However, since 2e3ecc70, eval has just one argument, so just call eval(condexpr()) directly.
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions