Mercurial > emacs
changeset 10355:e27c01c37cb9
(C_entries): Ignore carriage return at end of line.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 06 Jan 1995 22:30:26 +0000 |
parents | a4b616f7745c |
children | 7e76290ef3f7 |
files | lib-src/etags.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/etags.c Fri Jan 06 22:08:23 1995 +0000 +++ b/lib-src/etags.c Fri Jan 06 22:30:26 1995 +0000 @@ -1973,6 +1973,9 @@ c = *lp++; if (c == '\\') { + /* deal with \r (13) at end of msdos lines */ + if ((*lp =='\r')&&(*(lp+1)=='\0')) + *lp = '\0'; /* If we're at the end of the line, the next character is a '\0'; don't skip it, because it's the thing that tells us to read the next line. */