flow: hooks: fix MACRO_ASSIGNMENT_HOOK
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 17 Nov 2012 13:42:14 +0000 (16:42 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Sat, 17 Nov 2012 13:42:14 +0000 (16:42 +0300)
commitd36f58de0aae91b09f692104439a650983df7eac
treec3e979d26ce4e4286d9d84a7da946fb40fd0bbef
parentd5373c36122c10154cf2e5a7ccc99c6e5ab376c7
flow: hooks: fix MACRO_ASSIGNMENT_HOOK

The old logic passed the assignment if an assignment took place inside a
macro.  What we want are places where a macro is assigned to a variable.

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