From ba1e0f46ab5a83be1a367b0eadb2f783e06228b3 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 18 Oct 2009 14:25:35 +0000 Subject: Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway) --- Parser/tokenizer.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Parser') diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index cc142a7127..daf18dc2be 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1383,10 +1383,8 @@ tok_get(register struct tok_state *tok, char **p_start, char **p_end) c = tok_nextc(tok); if (c == '.') goto fraction; -#ifndef WITHOUT_COMPLEX if (c == 'j' || c == 'J') goto imaginary; -#endif if (c == 'x' || c == 'X') { /* Hex */ @@ -1438,10 +1436,8 @@ tok_get(register struct tok_state *tok, char **p_start, char **p_end) goto fraction; else if (c == 'e' || c == 'E') goto exponent; -#ifndef WITHOUT_COMPLEX else if (c == 'j' || c == 'J') goto imaginary; -#endif else if (nonzero) { tok->done = E_TOKEN; tok_backup(tok, c); @@ -1478,12 +1474,10 @@ tok_get(register struct tok_state *tok, char **p_start, char **p_end) c = tok_nextc(tok); } while (isdigit(c)); } -#ifndef WITHOUT_COMPLEX if (c == 'j' || c == 'J') /* Imaginary part */ imaginary: c = tok_nextc(tok); -#endif } } tok_backup(tok, c); -- cgit v1.2.1