> Date: Mon,  5 Jul 2021 07:54:10 -0600
> From: "Todd C. Miller" <[email protected]>

> That would result in an error like:
> 
>     ksh: syntax error: `done' unexpected
> 
> instead of:
> 
>     ksh: syntax error: `do' unexpected
> 
> But perhaps this is not important.  It is also possible to call
> yyerror() directly to display the error.
> 
>  - todd

ah well i wont push my opinion seeing as it does not seem especially
welcome here and i am more interested in working on other computer
languages than any of the numerous buggy unix shells; but thanks
for fixing while do done all the same.

---
p.s.  i dont know if i said this already, but using simple loops and
conditional breaks is a far better way of programming than while, etc.
and can greatly reduce the number of incorrect tests you write, whether
it be in shell or C.

Reply via email to