Patch #802188: better parser error message for non-EOL following line cont.

This commit is contained in:
Martin v. Löwis 2005-03-03 11:45:45 +00:00
parent a4dac4094a
commit 4bf108d74f
4 changed files with 8 additions and 1 deletions

View file

@ -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;
}