diff options
author | Linus Torvalds <torvalds@tove.osdl.org> | 2004-11-09 14:15:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:14 -0700 |
commit | 63c38b866407ebe12a5f8451fa758fc31f1b184f (patch) | |
tree | d576ee0c0a8098eef4c2b7a1be2d443f4a700122 /lib.h | |
parent | Make the pre-processor free the tokens that never make it (diff) | |
download | sparse-63c38b866407ebe12a5f8451fa758fc31f1b184f.tar.gz sparse-63c38b866407ebe12a5f8451fa758fc31f1b184f.tar.bz2 sparse-63c38b866407ebe12a5f8451fa758fc31f1b184f.zip |
Move "pos.pos" to be the top bits of the word.
This means that we can do the (very common) pos.pos++
without having to load/add/mask/store.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,9 +20,9 @@ extern unsigned int hexval(unsigned int c); struct position { unsigned int type:6, stream:10, - pos:14, newline:1, - whitespace:1; + whitespace:1, + pos:14; unsigned int line:31, noexpand:1; }; |