diff options
| author | 2023-05-27 14:36:23 +0200 | |
|---|---|---|
| committer | 2023-05-27 14:36:23 +0200 | |
| commit | 0f53520c5ee5f07ec2ba0361172fd72bd1456ad4 (patch) | |
| tree | 6ba8c3bb92dbe451ac7b36fabfa27021c79e1a45 /test.c | |
| parent | 640a3dac2b18d037169af15dfd5502c386c7e828 (diff) | |
recursive descent -> precedence climbing parser
Diffstat (limited to 'test.c')
| -rw-r--r-- | test.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -34,11 +34,18 @@ int diff(struct f *x, struct f *y) return x - y; } +#define xx 2 + +int waaa[xx == 0 ? 'Z' + : xx == 1? 'O' + : xx == 2? 'T' + : '?']; extern int printf(char *, ...); int main() { unsigned char x = 255; int k = x += 1; + 1+waaa; return abs(k); } |