Re: [RFC PATCH 12/28] cli: lil: Check for ctrl-c

2021-07-05 Thread Simon Glass
On Thu, 1 Jul 2021 at 00:16, Sean Anderson 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

[RFC PATCH 12/28] cli: lil: Check for ctrl-c

2021-06-30 Thread Sean Anderson
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 ct