- implemented -Wsign-compare
[cparser] / TODO
diff --git a/TODO b/TODO
index e5a2b11..0423ccf 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,26 +1,23 @@
 Lexer:
-- proper support of preprocessor
-- parse float numbers
-- octal&hex escape sequences
-- wide string constants
-- proper handling of different file encodings
+- Add preprocessor code
+- proper handling of different file encodings, parsing non-ascii strings
 
 Parser:
 - the expect macros abort functions directly. This leads to some functions
   not resetting the current context properly (parse_for)
-- proper handling of function pointer types
-- outermost typequalifiers can differ between function declarations and
-  implementations...
-- fix semantic to ignore type qualifiers (const double is the same as double)
+- label: declaration; is no valid C99 but we parse it anyway
+- designator support for initializers
+- add constant folding code
+- Refactor code, so code to handle number values and strings is
+  an own module and replacable
+- Support some attributes. noreturn, unused, printf, scanf, packed would be
+  interesting candidates
 
 ast2firm:
 - output source file positions for panics...
-- correctly handle pointer ++, --
+- output variable names for uninitialized variable warnings
 
-
-Coole Warnungen:
-
-       int x = 5;
-       x = bla():
-
-       -> dead assignment
+Missing Warnings:
+* dead assignments (int x = 5; x = bla(); -> dead assignment at x = 5;)
+* unused label
+*