extra: revert the mod_expr changes for modify expression hooks
commit33438b3b6cc97db3a336b7e9570d495121a3444a
authorDan Carpenter <error27@gmail.com>
Thu, 6 Apr 2023 15:30:58 +0000 (6 18:30 +0300)
committerDan Carpenter <error27@gmail.com>
Thu, 6 Apr 2023 15:30:58 +0000 (6 18:30 +0300)
tree4cfda52ad5e35498d13baa1da58fff7d152e0180
parentfa740fa237e44fef4570c7e67ab65614eca4b807
extra: revert the mod_expr changes for modify expression hooks

I thought I had already committed this revert.  The mod_expr in a modify
expression should be the expression which matches the var/sym.  It should
not be the expression which modifies it.  You can sometimes use
expr_get_parent_expr() to get that, but sometimes not...  :/

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_extra.c