X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=TODO;h=713c6d3f29516478d227cace33b7227c7cbc58b9;hb=6fb5b6813ea936aee285ede3b7b2b096303a3a4c;hp=e5a2b1115f1e3c28fb8d9795c8af68c4776eee09;hpb=3580543da5d0edaa567dd18db6b8c8d69ad6abc4;p=cparser diff --git a/TODO b/TODO index e5a2b11..713c6d3 100644 --- a/TODO +++ b/TODO @@ -1,26 +1,20 @@ 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 ast2firm: - output source file positions for panics... -- correctly handle pointer ++, -- - -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 +*