helper: introduce get_prev_statement() (fix the build).
commit03a370ace701c48f98399b11ac7f346ba205b89c
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Apr 2014 22:33:42 +0000 (26 01:33 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Apr 2014 22:33:42 +0000 (26 01:33 +0300)
treebedacabf9ffccd44966d02363c153b6f5483daad
parent0c75bedcd05e148807e5c506d764b63bc308690b
helper: introduce get_prev_statement() (fix the build).

Oh crap.  I forgot to commit this bit.

I need to get the previous statement for the recent unreachable change
where I check if I'm on an unreachable loop statement and the previous
statement was a goto.

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