All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB <grub-devel@gnu.org>
Subject: Scripting and error handling
Date: Sun, 16 Apr 2006 20:36:41 +0200	[thread overview]
Message-ID: <87slod74g6.fsf@xs4all.nl> (raw)

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




                 reply	other threads:[~2006-04-16 18:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87slod74g6.fsf@xs4all.nl \
    --to=mgerards@xs4all.nl \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.