conditions: Fix parsing foo = ({ ... label: __ret; })
commite1d2b81cda09e9377af8aafee6e717edd4df9b3f
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Mar 2018 13:48:10 +0000 (23 16:48 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 26 Mar 2018 10:42:42 +0000 (26 13:42 +0300)
tree423d24d84208626822129aaeb484bb418b6265a6
parentee12c54ac0b358f8817edbbea560cb80d30ca320
conditions: Fix parsing foo = ({ ... label: __ret; })

If the last statement of the macro was a label statement then there was a
typo and we returned bogus data.

Reported-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_conditions.c