bpo-45738: Fix computation of error location for invalid continuation (GH-29550)

characters in the parser
This commit is contained in:
Pablo Galindo Salgado 2021-11-14 01:06:41 +00:00 committed by GitHub
parent f8da00ef04
commit 25835c518a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 12 deletions

View file

@ -1970,7 +1970,6 @@ tok_get(struct tok_state *tok, const char **p_start, const char **p_end)
c = tok_nextc(tok);
if (c != '\n') {
tok->done = E_LINECONT;
tok->cur = tok->inp;
return ERRORTOKEN;
}
c = tok_nextc(tok);