Mercurial > ~dholland > hg > tradcpp > index.cgi
annotate TODO @ 184:d359d9b86327
Don't rely on anonymous unions.
They break on... dun dun dun... Solaris. Such a shock.
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 03:35:01 -0400 |
parents | d65a2f2184cb |
children | 16b4451e34b8 |
rev | line source |
---|---|
23 | 1 not implemented: |
2 - mode.input_allow_dollars. | |
3 - column counts do not take tabstops into account. | |
4 - mode.output_linenumbers. | |
5 - mode.do_depend. | |
6 - mode.do_macrolist. | |
7 - mode.do_trace. | |
8 - warns.endiflabels. (they cause errors) | |
9 - warns.unused. | |
10 - the -iremap option. | |
11 - $CPP_RESTRICTED | |
12 - other environment variables | |
13 | |
14 tidy up: | |
15 - get rid of inlinedefs.h | |
16 - use of places in and below macro.c is pretty bogus. | |
17 - macro code should be reworked. | |
156 | 18 - place_changefile is manky and wastes memory. Also, in an ideal |
19 world we'd remember the place #line changed the name and refer | |
20 to it when printing errors. | |
32 | 21 |
22 fix: | |
23 - "#if 0 && 1/0" should not crash; fix eval method. | |
89 | 24 - an unterminated comment is reported as "no newline at end of file" |
25 (which isn't fatal by default) | |
146
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
26 - quote characters and comment delimiters that are emitted by |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
27 macros are not recognized. See: |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
28 t34 (should produce a quote and FOO Q) |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
29 t35 (similarly, this test may be redundant once it's fixed) |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
30 t36 (C(3) should produce nothing) |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
31 t37 (BC foo EC should produce nothing) |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
32 Joerg says comments like in t36 should be stripped exactly |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
33 twice, once when the macro is defined and again when it's |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
34 expanded. Note that gcc's cpp -traditional is getting t37 |
15f51ed08ecf
Add more tests for some degenerate cases we don't handle right.
David A. Holland
parents:
145
diff
changeset
|
35 wrong, and it gets t36 wrong with -C. |