Commit e4d4f00a authored by Neal Norwitz's avatar Neal Norwitz

Add a comment about some refactoring. (There's probably more that should be...

Add a comment about some refactoring.  (There's probably more that should be done.)  I will reformat this file in the next checkin due to the inconsistent tabs/spaces.
parent dac090d3
......@@ -15,12 +15,6 @@
#include <assert.h>
/* XXX TO DO
- re-indent this file (should be done)
- internal error checking (freeing memory, etc.)
- syntax errors
*/
/* Data structure used internally */
struct compiling {
char *c_encoding; /* source encoding */
......@@ -889,6 +883,11 @@ ast_for_ifexpr(struct compiling *c, const node *n)
c->c_arena);
}
/* XXX(nnorwitz): the listcomp and genexpr code should be refactored
so there is only a single version. Possibly for loops can also re-use
the code.
*/
/* Count the number of 'for' loop in a list comprehension.
Helper for ast_for_listcomp().
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment