diff options
Diffstat (limited to 'dfa.c')
-rw-r--r-- | dfa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3478,7 +3478,7 @@ dfaexec (struct dfa *d, char const *begin, char *end, /* If the previous character was a newline, count it, and skip checking of multibyte character boundary until here. */ - if (p[-1] == eol) + if (p[-1] == eol && (char *) p != begin) { nlcount++; mbp = p; |