added support for nested structs thanks to fosslinux

This commit is contained in:
Jeremiah Orians 2019-12-23 06:39:45 -05:00
parent a10d822cff
commit 375fa888d0
No known key found for this signature in database
GPG Key ID: 5410E91C14959E87
3 changed files with 7 additions and 5 deletions

View File

@ -234,7 +234,9 @@ void create_struct()
struct type* head = calloc(1, sizeof(struct type));
struct type* i = calloc(1, sizeof(struct type));
head->name = global_token->s;
head->type = head;
i->name = global_token->s;
i->type = i;
head->indirect = i;
i->indirect = head;
head->next = global_types;

View File

@ -53,10 +53,10 @@ a0ae067746e7a2b01d33950da1cf640e12c3a70a045ab331ea2025af59dec9af test/results/t
1154f39f25dcd6d914e9a542306f95280926baf985d011b2152c7ea0b87ab42d test/results/test10-knight-native-binary
c1b5a2a3cd46c5e95e5540e871c2a916e028684ca80f51c001ef489342e27625 test/results/test10-knight-posix-binary
b3e13d54aab689137628fb9c4487bfd8288f9bd18bef8fe756577c8d2dce1f1f test/results/test10-x86-binary
a09663fc3432a2a9df302076576e2707b5ebd4f08c3bd3dbb978b5236f68860c test/results/test100-amd64-binary
33fa3fda1ac2e1830187bcdaa49781b5b2cd7fca0dbdd230503c1b96eee1b826 test/results/test100-armv7l-binary
3ceee365237e1cbb8408ea93a0eb5d47d71d7e6c17a9be7e64d0ca85eee7e7ef test/results/test100-knight-posix-binary
2737c4fd5c501f53f8607161d8c7b38d7634c9da0d4a6e86b74128d02eec2519 test/results/test100-x86-binary
7ac97ebed232a706b31885922a7e038375a6b9e015a3e8f2ad1f14f0c3924a00 test/results/test100-amd64-binary
7cae7610b48878db282b0c5230a09cb39f8f69f5a673a5e768fbe55e92259646 test/results/test100-armv7l-binary
548915b99464907254ac3ee7077ce406f246309322d99f15dc3ed4d4c56a6a71 test/results/test100-knight-posix-binary
34a0b5505f9cd59e30b39af156324cf8e2297a98a47aca9c7fdd2926dd7d5b29 test/results/test100-x86-binary
34e6d535e30ef8826a4ad1a4d08b76cfa370c54595599ad3be784b64c9cd8ec5 test/results/test11-amd64-binary
893695e6f300a0fe055fad935a56abd549bba70d1d39c535a680f41bbb73f117 test/results/test11-armv7l-binary
955b564d2c89abf2cfc6c80d766cd11479d146b828dec69e654b0958a62d5e6e test/results/test11-knight-native-binary

View File

@ -1 +1 @@
64c0333dbf94a040af735f1c02e00de38e734abf4ebdea5205f4765b8e2bc0c7 test/test100/proof
794e13ae4ef028c5e2a360832bdbb696789bb7608a9744cd7be8d532a71d1055 test/test100/proof