From: Christopher Li <sparse@chrisli.org>
To: linux-sparse@vger.kernel.org
Cc: Josh Triplett <josh@freedesktop.org>, Linus Torvalds <torvalds@osdl.org>
Subject: [PATCH 0/5] keyword driven parsing
Date: Wed, 7 Mar 2007 02:01:09 -0800 [thread overview]
Message-ID: <20070307100109.GA10577@chrisli.org> (raw)
Here is an attempt to use keyword driven parsing.
The effect is that, we don't need to keep on adding keyword to
ident-list any more.
It might be marginally faster because it does not do a series
of testing for ident any more. I can't really tell because
sparse is already fast.
It almost remove the usage match_idents(). The only place
for using it now is parse_asm().
BTW, why asm is a statement not an expression? If it is an
expression, it seems make sense to merge the volatile to the
ctype modifiers.
Feel back is welcome.
Chris
next reply other threads:[~2007-03-07 10:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-07 10:01 Christopher Li [this message]
2007-03-07 15:45 ` [PATCH 0/5] keyword driven parsing Linus Torvalds
2007-03-08 6:55 ` Josh Triplett
2007-03-08 8:59 ` Christopher Li
2007-03-09 23:29 ` Josh Triplett
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=20070307100109.GA10577@chrisli.org \
--to=sparse@chrisli.org \
--cc=josh@freedesktop.org \
--cc=linux-sparse@vger.kernel.org \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).