shithub: scc

Download patch

ref: 557b3bd32b1d1b7801e565aa695d7340221b20ce
parent: 3618cdb4bcb74744323c340615242234ccf49fa2
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Aug 26 18:29:07 EDT 2015

Add some TODO in the code

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