core: mes: Prepare for M2-Planet.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 12 Aug 2018 14:53:21 +0000 (16:53 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 12 Aug 2018 14:53:21 +0000 (16:53 +0200)
commitbc094d0e1fef0b00753c4a68ea2b9ba45b2182d0
treeac794f68b777236e4713b6b723f8061a7aca6ba4
parent1e787637d817f229bf32ad4d7008db872ab4169f
core: mes: Prepare for M2-Planet.

* src/mes.c (cal): Refactor to use if instead of switch.
(eval_apply): Likewise.
src/mes.c