linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] keyword driven parsing
@ 2007-03-07 10:01 Christopher Li
  2007-03-07 15:45 ` Linus Torvalds
  2007-03-08  6:55 ` Josh Triplett
  0 siblings, 2 replies; 5+ messages in thread
From: Christopher Li @ 2007-03-07 10:01 UTC (permalink / raw)
  To: linux-sparse; +Cc: Josh Triplett, Linus Torvalds

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-09 23:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-07 10:01 [PATCH 0/5] keyword driven parsing Christopher Li
2007-03-07 15:45 ` Linus Torvalds
2007-03-08  6:55 ` Josh Triplett
2007-03-08  8:59   ` Christopher Li
2007-03-09 23:29     ` Josh Triplett

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).