e59ee9509824cda37a04b89b1d73fb790cf78b0d
[cparser] / TODO
1 Refactoring:
2 - Rename type_string to type_char_ptr
3 - Rename the statement_base_t statement; field in all the statements to
4   statement_base_t base;
5
6 Lexer:
7 - Add preprocessor code
8 - proper handling of different file encodings, parsing non-ascii strings
9
10 Parser:
11 - the expect macros abort functions directly. This leads to some functions
12   not resetting the current context properly (parse_for)
13 - label: declaration; is no valid C99 but we parse it anyway
14 - designator support for initializers
15 - add constant folding code
16 - Refactor code, so code to handle number values and strings is
17   an own module and replacable
18 - Support some attributes. noreturn, unused, printf, scanf, packed would be
19   interesting candidates
20
21 ast2firm:
22 - output source file positions for panics...
23 - output variable names for uninitialized variable warnings
24
25 Missing Warnings:
26 * dead assignments (int x = 5; x = bla(); -> dead assignment at x = 5;)
27 * unused label
28 *