Re: [PATCH] script: Do not allow a delimiter between function name and block start.

2020-09-17 Thread Daniel Kiper
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

[PATCH] script: Do not allow a delimiter between function name and block start.

2020-07-31 Thread Glenn Washburn
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 syntactical