All of lore.kernel.org
 help / color / mirror / Atom feed
* Scripting and error handling
@ 2006-04-16 18:36 Marco Gerards
  0 siblings, 0 replies; only message in thread
From: Marco Gerards @ 2006-04-16 18:36 UTC (permalink / raw)
  To: The development of GRUB

Hi,

As you might have noticed, I just committed a patch.  It fixes the
following issues:

- Cleaned up the parser code.  It was a bit messy because of the
  concatenated variables handling.  I just disabled that feature for
  now and will re-implement it in some other way.

- Empty menus will not be shown.

- No crashes when `title' is used.

- Better error handling.  If one menu entry contains a mistake, it will
  not appear in the menu, but others will.

Some things for me to work on:

- The lexer really sucks IMO.  So I am looking at flex to see if it
  can generate a good lexer for us.  It depends on some syscalls, so
  perhaps it is not possible for us to use flex...

- When a menu entry contains a typo, it should appear as disabled or
  so.  I will look into that.  So in that case you should still be
  able to edit and boot the entry after editing.

- More fine grained error handling should be added.  So error messages
  can be precise and tell the user *exactly* what the problem is.

- The parser should be made reentrant.

- And of course I should add a lot more features.  :-)

- Please tell me if something still causes problems, etc.

--
Marco




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-16 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-16 18:36 Scripting and error handling Marco Gerards

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.