fixed prefix -- parsing; codegen for unary + - ~ !
This commit is contained in:
parent
017a70ee7e
commit
b13e16b517
5 changed files with 307 additions and 90 deletions
19
05/main.c
19
05/main.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue