Both of those keywords are described in menu.txt. Any reason those are not prefixed with MENU? Sebastian
On 08/31/2010 01:17 PM, Sebastian Herbszt wrote:> Both of those keywords are described in menu.txt. > Any reason those are not prefixed with MENU? > > SebastianYes. The CLI treats MENU as a single line to be ignored (i.e. a comment), and TEXT..ENDTEXT as a multi-line block. -hpa
H. Peter Anvin wrote:> On 08/31/2010 01:17 PM, Sebastian Herbszt wrote: >> Both of those keywords are described in menu.txt. >> Any reason those are not prefixed with MENU? >> >> Sebastian > > Yes. The CLI treats MENU as a single line to be ignored (i.e. a > comment), and TEXT..ENDTEXT as a multi-line block. > > -hpaThis means the menu system can handle submenus (MENU BEGIN.. MENU END), but the core will ignore the MENU lines and parse the submenu "content" (LABELs) as is, correct? Sebastian
On 09/09/2010 01:15 PM, Sebastian Herbszt wrote:> H. Peter Anvin wrote: >> On 08/31/2010 01:17 PM, Sebastian Herbszt wrote: >>> Both of those keywords are described in menu.txt. >>> Any reason those are not prefixed with MENU? >>> >>> Sebastian >> >> Yes. The CLI treats MENU as a single line to be ignored (i.e. a >> comment), and TEXT..ENDTEXT as a multi-line block. >> >> -hpa > > This means the menu system can handle submenus (MENU BEGIN.. > MENU END), but the core will ignore the MENU lines and parse the > submenu "content" (LABELs) as is, correct? > > Sebastian >Right. -hpa