On Thu, 1 Jul 2021 at 00:16, Sean Anderson <sean...@gmail.com> wrote: > > Check for ctrl-c in lil_parse. This works out to around every time a > function or command is called. We also check at the beginning of > lil_eval_expr so that constructs like > > while {1} {} > > get interrupted. Since there are no non-trivial commands in that example, > lil_parse never gets to its ctrlc check. However, we do need to evaluate > the loop expression, so that's a good place to put a check. > > Signed-off-by: Sean Anderson <sean...@gmail.com> > --- > > common/cli_lil.c | 11 +++++++++++ > 1 file changed, 11 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>