fixed #include -> #include in certain cases, found a new bug

This commit is contained in:
pommicket 2022-02-08 22:17:28 -05:00
parent d7a9a565a9
commit c548b12bbb
4 changed files with 4922 additions and 2 deletions

View file

@ -1 +1,16 @@
/* #include "tests/parse_stb_image.h" */
/* #include "tests/parse_stb_truetype.h" */
/*
; @NONSTANDARD:
; the following does not work:
; typedef struct T Type;
; struct T{
; int m;
; };
; ...
; Type *x = ...;
; x->m; *trying to access member of incomplete struct
This needs to be fixed because otherwise you can't do:
struct A { struct B *blah; }
struct B { struct A *blah; }
*/