comparison: load the correct comparison information into caller_info
commit2ca77731fe3a12fd050686f9b95d20b972e49abe
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jul 2016 09:30:09 +0000 (15 12:30 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jul 2016 09:30:09 +0000 (15 12:30 +0300)
tree0d06daf277dde4e7e9d10d1fdc31bfe0c1cf870b
parent348944bd3f21c7a11bdac37fb56daaccf2628be7
comparison: load the correct comparison information into caller_info

The problem here is that we were just printing the variable name "foo->bar"
instead of "$0->bar".

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