commit | 2e4cc7e0d84747826d3d2546d1bccd9c40a455c2 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Mon Sep 17 19:33:48 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Mon Sep 17 19:33:48 2001 +0000 |
tree | 7c9bcbb7414b9d94aee0ec20520a026bfdba17f4 | |
parent | c299fc16f2a8572780d2130ab9e55a6f22a93279 [diff] |
Last set of change to get regression tests to pass Remove the only test in the syntax module. It ends up that the transformer must handle this error case. In the transformer, check for a list compression in com_assign_list() by looking for a list_for node where a comma is expected. In pycodegen.compile() re-raise the SyntaxError rather than catching it and exiting