Oops - the line count is incremented by the line continuation, not by
the word that precedes it. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@837 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
16ae1d5b87
commit
273bae0b16
|
@ -897,8 +897,8 @@ T_FUNC(line_continuation_within_whitespace, "line continuation within whitespace
|
||||||
tf = t_fopen(NULL);
|
tf = t_fopen(NULL);
|
||||||
t_fprintf(tf, "hello \\\n world\n");
|
t_fprintf(tf, "hello \\\n world\n");
|
||||||
t_frewind(tf);
|
t_frewind(tf);
|
||||||
ret = orw_expect(tf, "hello", 1 /*lines*/, 0 /*eof*/, 0 /*eol*/) &&
|
ret = orw_expect(tf, "hello", 0 /*lines*/, 0 /*eof*/, 0 /*eol*/) &&
|
||||||
orw_expect(tf, "world", 0 /*lines*/, 0 /*eof*/, 1 /*eol*/);
|
orw_expect(tf, "world", 1 /*lines*/, 0 /*eof*/, 1 /*eol*/);
|
||||||
t_fclose(tf);
|
t_fclose(tf);
|
||||||
return (ret);
|
return (ret);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue