diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-10-26 20:58:53 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-10-26 20:58:53 (GMT) |
commit | 9aebc61ad8e3b0eddd43dc563380025cc2fd8d02 (patch) | |
tree | 95a3c735956df93136a3604b56510f3f103f636c /Parser | |
parent | cff882ce21f0870da9f59f4e1dad094caa379f5a (diff) | |
download | cpython-9aebc61ad8e3b0eddd43dc563380025cc2fd8d02.zip cpython-9aebc61ad8e3b0eddd43dc563380025cc2fd8d02.tar.gz cpython-9aebc61ad8e3b0eddd43dc563380025cc2fd8d02.tar.bz2 |
Merged revisions 67030-67031 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67030 | benjamin.peterson | 2008-10-26 15:21:13 -0500 (Sun, 26 Oct 2008) | 1 line
fix __future__ imports when multiple features are given
........
r67031 | benjamin.peterson | 2008-10-26 15:33:19 -0500 (Sun, 26 Oct 2008) | 1 line
add forgotten test for r67030
........
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/parser.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Parser/parser.c b/Parser/parser.c index 9e115df..ff4ce16 100644 --- a/Parser/parser.c +++ b/Parser/parser.c @@ -210,13 +210,10 @@ future_hack(parser_state *ps) char *str_ch = STR(CHILD(cch, 0)); if (strcmp(str_ch, FUTURE_WITH_STATEMENT) == 0) { ps->p_flags |= CO_FUTURE_WITH_STATEMENT; - break; } else if (strcmp(str_ch, FUTURE_PRINT_FUNCTION) == 0) { ps->p_flags |= CO_FUTURE_PRINT_FUNCTION; - break; } else if (strcmp(str_ch, FUTURE_UNICODE_LITERALS) == 0) { ps->p_flags |= CO_FUTURE_UNICODE_LITERALS; - break; } } } |