[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] script: Do not allow a delimiter between function name and b
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] script: Do not allow a delimiter between function name and block start. |
Date: |
Thu, 17 Sep 2020 16:40:25 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Fri, Jul 31, 2020 at 09:33:22AM -0500, Glenn Washburn wrote:
> Currently the following is valid syntax, but should be a syntax error:
>
> grub> function f; { echo HERE; }
> grub> f
> HERE
>
> This fix is not backward compatible, but current syntax is not documented
> either and has no functional value. So any scripts with this unintended
> syntax are technically syntactically incorrect and should not be relying
> on this behavior.
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] script: Do not allow a delimiter between function name and block start.,
Daniel Kiper <=