mirror of
https://github.com/frida/tinycc
synced 2024-12-24 22:16:49 +03:00
fix _Noreturn keyword
This commit is contained in:
parent
7b8799e5ff
commit
53a1521c2e
3
tccgen.c
3
tccgen.c
@ -4402,9 +4402,8 @@ static int parse_btype(CType *type, AttributeDef *ad)
|
|||||||
next();
|
next();
|
||||||
break;
|
break;
|
||||||
case TOK_NORETURN3:
|
case TOK_NORETURN3:
|
||||||
/* currently, no need to handle it because tcc does not
|
|
||||||
track unused objects */
|
|
||||||
next();
|
next();
|
||||||
|
ad->f.func_noreturn = 1;
|
||||||
break;
|
break;
|
||||||
/* GNUC attribute */
|
/* GNUC attribute */
|
||||||
case TOK_ATTRIBUTE1:
|
case TOK_ATTRIBUTE1:
|
||||||
|
Loading…
Reference in New Issue
Block a user