diff Python/graminit.c @ 34539:8259ff3ee493 legacy-trunk

Fix bug that allowed future statements virtually anywhere in a module. If we exit via the break here, we need to set ff_last_lineno or FUTURE_POSSIBLE() will remain true. The bug affected statements containing a variety of expressions, but not all expressions. It has been present since Python 2.2.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Fri, 04 Feb 2005 18:38:43 +0000
parents f7474d31ba3f
children 9a7c2d1e56de a0d3f773543d
line wrap: on
line diff