History

Check whether structure fields have a type

Thomas Preud'homme committed 13 years ago

Commit 981eb841 parent 505329b1 file · +2 −1Browse files

Unified · Split

tccgen.c+2−1
@@ -2764,7 +2764,8 @@ static void struct_decl(CType *type, int u) · 2763 unmodified lines
27642764 bit_pos = 0;
27652765 offset = 0;
27662766 while (tok != '}') {
2767− parse_btype(&btype, &ad);
2767+ if (parse_btype(&btype, &ad))
2768+ expect("type");
27682769 while (1) {
27692770 bit_size = -1;
27702771 v = 0;

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