aboutsummaryrefslogtreecommitdiff
path: root/lib.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-08-06 09:07:50 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-06 09:07:50 -0700
commitc8b9ce8f1ef27a0e77c87ea1581c6e2b33753e7a (patch)
tree990cededa3df0b6a2e754dbf8cf45b1b06202bb5 /lib.h
parentDon't overwrite built-in macros when redefining them. (diff)
downloadsparse-c8b9ce8f1ef27a0e77c87ea1581c6e2b33753e7a.tar.gz
sparse-c8b9ce8f1ef27a0e77c87ea1581c6e2b33753e7a.tar.bz2
sparse-c8b9ce8f1ef27a0e77c87ea1581c6e2b33753e7a.zip
Have more bits for "stream number" in "struct pos"
Now that we do multiple files at a time, the stream numbers grow alarmingly.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib.h b/lib.h
index a1c4b34..324a8a0 100644
--- a/lib.h
+++ b/lib.h
@@ -25,10 +25,10 @@ extern unsigned int hexval(unsigned int c);
struct position {
unsigned int type:6,
- stream:10,
+ stream:14,
newline:1,
whitespace:1,
- pos:14;
+ pos:10;
unsigned int line:31,
noexpand:1;
};