fix _Noreturn keyword
This commit is contained in:
parent
7b8799e5ff
commit
53a1521c2e
1 changed files with 1 additions and 2 deletions
3
tccgen.c
3
tccgen.c
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue