Fix overlapping ranges.
commitb5fff0cff93423196c4556dbf22958d08d195143
authorDan Carpenter <error27@gmail.com>
Sun, 31 May 2009 15:31:50 +0000 (31 18:31 +0300)
committerDan Carpenter <error27@gmail.com>
Sun, 31 May 2009 15:31:50 +0000 (31 18:31 +0300)
treed769f56f168b436a5b072725ef2cd446540f065b
parent50cc1e711bf95facafe899a2e7b5be4a030e630a
Fix overlapping ranges.

Sometimes we add a range that overlaps with two or more existing ranges.
The old way only modified the first range, but with this change we
check the next ranges as well.

I don't know that this bug caused any problems, but it made the debug
output look a bit odd sometimes.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_ranges.c