fixed prefix -- parsing; codegen for unary + - ~ !

This commit is contained in:
pommicket 2022-02-11 13:52:19 -05:00
parent 017a70ee7e
commit b13e16b517
5 changed files with 307 additions and 90 deletions

View file

@ -1,18 +1,3 @@
/*
; @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; }
*/
int main(int argc, char **argv) {
return (float)(long)"hello";
long main(int argc, char **argv) {
return !1e-100;
}