pfctl: Fix line numbers when \ is used inside ""

PR:		201520
Obtained from:	OpenBSD
MFC after:	2 weeks
This commit is contained in:
Kristof Provost 2018-10-22 04:12:51 +00:00
parent 8fd1088042
commit 4a8e4793ed

View File

@ -5765,8 +5765,10 @@ top:
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
else if (next == '\n')
else if (next == '\n') {
file->lineno++;
continue;
}
else
lungetc(next);
} else if (c == quotec) {