comparison TODO @ 146:15f51ed08ecf

Add more tests for some degenerate cases we don't handle right.
author David A. Holland
date Sat, 13 Jul 2013 14:47:29 -0400
parents a403605d3166
children e8f7ae63844f
comparison
equal deleted inserted replaced
145:a403605d3166 146:15f51ed08ecf
19 19
20 fix: 20 fix:
21 - "#if 0 && 1/0" should not crash; fix eval method. 21 - "#if 0 && 1/0" should not crash; fix eval method.
22 - an unterminated comment is reported as "no newline at end of file" 22 - an unterminated comment is reported as "no newline at end of file"
23 (which isn't fatal by default) 23 (which isn't fatal by default)
24 - quote characters and comment delimiters that are emitted by
25 macros are not recognized. See:
26 t34 (should produce a quote and FOO Q)
27 t35 (similarly, this test may be redundant once it's fixed)
28 t36 (C(3) should produce nothing)
29 t37 (BC foo EC should produce nothing)
30 Joerg says comments like in t36 should be stripped exactly
31 twice, once when the macro is defined and again when it's
32 expanded. Note that gcc's cpp -traditional is getting t37
33 wrong, and it gets t36 wrong with -C.