History

Set TYPE_PARAM parsing mode in old-style param lists

Aleksi Hannula committed 11 months ago

Commit b4569231 parent f5f544f1 file · +5 −1Browse files

Unified · Split

tccgen.c+5−1
@@ -8742,7 +8742,11 @@ static int decl(int l) · 8741 unmodified lines
8742 while (1) { /* iterate thru each declaration */8742 while (1) { /* iterate thru each declaration */
8743 type = btype;8743 type = btype;
8744 ad = adbase;8744 ad = adbase;
8745 type_decl(&type, &ad, &v, TYPE_DIRECT);8745 if (l == VT_CMP) {
8746 type_decl(&type, &ad, &v, TYPE_DIRECT | TYPE_PARAM);
8747 } else {
8748 type_decl(&type, &ad, &v, TYPE_DIRECT);
8749 }
8746 /*ptype("decl", &type, v);*/8750 /*ptype("decl", &type, v);*/
8747 8751
8748 if ((type.t & VT_BTYPE) == VT_FUNC) {8752 if ((type.t & VT_BTYPE) == VT_FUNC) {

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