more parsing tests, more fixes

- #elif now actually works properly (hopefully)
- fixed some array decaying bugs (hopefully), and generally simplified typing
This commit is contained in:
pommicket 2022-02-08 20:09:08 -05:00
parent 26fccf7cd7
commit 0a2d05bdd5
5 changed files with 7694 additions and 69 deletions

View file

@ -1,10 +1,17 @@
#include "tests/parse_stb_sprintf.h"
#include "tests/parse_stb_image.h"
/* #if 0 */
/* #elif 1 */
/* int f(){} */
/* #endif */
/* @TODO: some more testing of #if/#elif/#else/#endif */
/* @TODO: ensure that
struct Something {
int a;
} x,y;
works
*/
/* @TODO: why are line numbers off by 1? */
int main() {
}