flow: tweak the ->pos setting for fake assignments
commit8728a8dd802d50c9a33ca1901676a5acce172326
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 22 Sep 2011 12:42:11 +0000 (22 15:42 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 22 Sep 2011 12:42:11 +0000 (22 15:42 +0300)
tree62f9a29b7f46374ec123604c4204cea7cdd7e5d8
parente5fd511c0a8f56aec63c131a9b7f3f12ca2558a6
flow: tweak the ->pos setting for fake assignments

Fake assignments are used so that clients can just get treat initializers
like a normal assignment if they want to.  This changes the position of the
fake assignment expression so that it's at position 'A' instead of position
'B' in the diagram below.

foo = bar;
        ^     ^
        A     B

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