flow: set __cur_stmt and __prev_stmt inside for loops
commitad8bf3611defb208883c6fef95a3a9eae393778e
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Mar 2015 14:34:30 +0000 (26 17:34 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Mar 2015 14:34:30 +0000 (26 17:34 +0300)
tree0a50a09865665ee9ba65418a47845fca6cff9012
parent5473e14e3bb2d32d14428d909bc8df5cec8b11ac
flow: set __cur_stmt and __prev_stmt inside for loops

I'm going to use this in smatch_comparison.c so I can tell if it is the
first time through a for loop or not.

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