Recognize C11' _Alignof
This commit is contained in:
parent
c4787e3626
commit
070646b790
2 changed files with 2 additions and 0 deletions
1
tccgen.c
1
tccgen.c
|
|
@ -4829,6 +4829,7 @@ ST_FUNC void unary(void)
|
|||
case TOK_SIZEOF:
|
||||
case TOK_ALIGNOF1:
|
||||
case TOK_ALIGNOF2:
|
||||
case TOK_ALIGNOF3:
|
||||
t = tok;
|
||||
next();
|
||||
in_sizeof++;
|
||||
|
|
|
|||
1
tcctok.h
1
tcctok.h
|
|
@ -53,6 +53,7 @@
|
|||
DEF(TOK_ATTRIBUTE2, "__attribute__")
|
||||
DEF(TOK_ALIGNOF1, "__alignof")
|
||||
DEF(TOK_ALIGNOF2, "__alignof__")
|
||||
DEF(TOK_ALIGNOF3, "_Alignof")
|
||||
DEF(TOK_TYPEOF1, "typeof")
|
||||
DEF(TOK_TYPEOF2, "__typeof")
|
||||
DEF(TOK_TYPEOF3, "__typeof__")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue