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
48294829 case TOK_SIZEOF:
48304830 case TOK_ALIGNOF1:
48314831 case TOK_ALIGNOF2:
4832+ case TOK_ALIGNOF3:
48324833 t = tok;
48334834 next();
48344835 in_sizeof++;
tcctok.h+1−0
@@ -53,6 +53,7 @@ · 52 unmodified lines
5353 DEF(TOK_ATTRIBUTE2, "__attribute__")
5454 DEF(TOK_ALIGNOF1, "__alignof")
5555 DEF(TOK_ALIGNOF2, "__alignof__")
56+ DEF(TOK_ALIGNOF3, "_Alignof")
5657 DEF(TOK_TYPEOF1, "typeof")
5758 DEF(TOK_TYPEOF2, "__typeof")
5859 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