fix a bunch of problems from parsing test

- ll suffixes (15ll => 15l)
- newlines between string literals to be concatenated
- fix *x++ = 1;
- default
- printing conditionals & decaying conditional operands
This commit is contained in:
pommicket 2022-02-07 17:02:57 -05:00
parent 16bad1636d
commit aba654c36d
4 changed files with 91 additions and 46 deletions

View file

@ -1,11 +1,4 @@
#define funciton( h, \
i, j ) h##ello * 2 * i##ello * j##ello
int hello = 7;
#include "tests/parse_stb_sprintf.h"
/* @TODO: why are line numbers off by 1? */
int main() {
int x = funciton(
h,
h,
h
);
int y = funciton(h,h,h);
}