History

accept "restrict" in array-decl (STDC 199901)

grischka committed 17 years ago

Commit 58189451 parent 0e015981 file · +2 −0Browse files

Unified · Split

tcc.c+2−0
@@ -7323,6 +7323,8 @@ static void post_type(CType *type, AttributeDef *ad) · 7322 unmodified lines
73237323 } else if (tok == '[') {
73247324 /* array definition */
73257325 next();
7326+ if (tok == TOK_RESTRICT1)
7327+ next();
73267328 n = -1;
73277329 if (tok != ']') {
73287330 n = expr_const();

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