History

Recognize C11' _Alignof

Petr Skocik committed 7 years ago

Commit 070646b1 parent c4787e32 files · +2 −0Browse files

Unified · Split

2 files
  1. tccgen.c +1 −0
  2. tcctok.h +1 −0
tccgen.c+1−0
@@ -4829,6 +4829,7 @@ ST_FUNC void unary(void) · 4828 unmodified lines
4829 case TOK_SIZEOF:4829 case TOK_SIZEOF:
4830 case TOK_ALIGNOF1:4830 case TOK_ALIGNOF1:
4831 case TOK_ALIGNOF2:4831 case TOK_ALIGNOF2:
4832 case TOK_ALIGNOF3:
4832 t = tok;4833 t = tok;
4833 next();4834 next();
4834 in_sizeof++;4835 in_sizeof++;
tcctok.h+1−0
@@ -53,6 +53,7 @@ · 52 unmodified lines
53 DEF(TOK_ATTRIBUTE2, "__attribute__")53 DEF(TOK_ATTRIBUTE2, "__attribute__")
54 DEF(TOK_ALIGNOF1, "__alignof")54 DEF(TOK_ALIGNOF1, "__alignof")
55 DEF(TOK_ALIGNOF2, "__alignof__")55 DEF(TOK_ALIGNOF2, "__alignof__")
56 DEF(TOK_ALIGNOF3, "_Alignof")
56 DEF(TOK_TYPEOF1, "typeof")57 DEF(TOK_TYPEOF1, "typeof")
57 DEF(TOK_TYPEOF2, "__typeof")58 DEF(TOK_TYPEOF2, "__typeof")
58 DEF(TOK_TYPEOF3, "__typeof__")59 DEF(TOK_TYPEOF3, "__typeof__")

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t