scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 557b3bd32b1d1b7801e565aa695d7340221b20ce
parent 3618cdb4bcb74744323c340615242234ccf49fa2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 26 Aug 2015 22:29:07 +0200

Add some TODO in the code

Diffstat:
cc1/cpp.c | 1+
cc1/expr.c | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cc1/cpp.c b/cc1/cpp.c @@ -30,6 +30,7 @@ defmacro(char *s) strcpy(yytext, s); sym = lookup(NS_CPP, yytext); + /* FIXME: We have a problem here */ sym->flags |= ISDECLARED; return sym; } diff --git a/cc1/expr.c b/cc1/expr.c @@ -423,6 +423,8 @@ integeruop(char op, Node *np) return usimplify(op, np->type, np); } +/* TODO: check validity of types */ + static Node * constconv(Node *np, Type *newtp) {