diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-03-03 11:45:45 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-03-03 11:45:45 (GMT) |
commit | 4bf108d74f2e36f16f4c0c00e7791e418e2d47ff (patch) | |
tree | 5d19f6610a464a81add147dd85fd1e72a8f480a8 /Parser/tokenizer.c | |
parent | a4dac4094acd35810b1497bbf99642fc98afd475 (diff) | |
download | cpython-4bf108d74f2e36f16f4c0c00e7791e418e2d47ff.zip cpython-4bf108d74f2e36f16f4c0c00e7791e418e2d47ff.tar.gz cpython-4bf108d74f2e36f16f4c0c00e7791e418e2d47ff.tar.bz2 |
Patch #802188: better parser error message for non-EOL following line cont.
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 8fc2c26..1884d01 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1413,7 +1413,7 @@ tok_get(register struct tok_state *tok, char **p_start, char **p_end) if (c == '\\') { c = tok_nextc(tok); if (c != '\n') { - tok->done = E_TOKEN; + tok->done = E_LINECONT; tok->cur = tok->inp; return ERRORTOKEN; } |