ranges: allow rl_binop() to return NULL
commit704c507ff919dd4b021cc85d6010171a5ed7603f
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Sep 2017 21:27:41 +0000 (13 00:27 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Sep 2017 21:27:41 +0000 (13 00:27 +0300)
tree929cfbbb70fd7cff34ced17319a38873fe4afecc
parente296583a6d4c70ef5e063fa6ff2e3de2299148ed
ranges: allow rl_binop() to return NULL

In the current code, it just returns the whole range.  Say we use
rl_binop() to handle get_implied_rl() then that means it acts the same as
get_absolute_rl() which is not what we want.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_address.c
smatch_parse_call_math.c
smatch_ranges.c