fix _Noreturn keyword

This commit is contained in:
Sergey Sushilin 2019-09-08 18:35:15 +03:00
parent 7b8799e5ff
commit 53a1521c2e

View File

@ -4402,9 +4402,8 @@ static int parse_btype(CType *type, AttributeDef *ad)
next();
break;
case TOK_NORETURN3:
/* currently, no need to handle it because tcc does not
track unused objects */
next();
ad->f.func_noreturn = 1;
break;
/* GNUC attribute */
case TOK_ATTRIBUTE1: