math: let user_data handle binops if it wants
commit845733e1c8afc0887210b98d6036a98f0f83e1f3
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Aug 2017 20:46:51 +0000 (10 23:46 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Aug 2017 20:46:51 +0000 (10 23:46 +0300)
tree1f0a510c163dd8ae8a123e6322b7e703ebab9c4f
parent28a8ffbd911012fd53171b11be7b9cc3aa514ea1
math: let user_data handle binops if it wants

Ugh...  This really should have been committed a long time ago.

The check_user_data.c is the main user of custom hooks into smatch_math.c
and it should be able to parse binop expressions as well instead of just
variables.

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