diff options
| author | Stefan Monnier | 2004-04-07 19:17:36 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-04-07 19:17:36 +0000 |
| commit | a12a9bd6ab48161007d71e5fa6eb5009297a94e0 (patch) | |
| tree | 050e8f88e8f127ce64d1959e270a3acff440cac9 /src | |
| parent | 1618ce6df78f53caa1b82fce36a0840898562185 (diff) | |
| download | emacs-a12a9bd6ab48161007d71e5fa6eb5009297a94e0.tar.gz emacs-a12a9bd6ab48161007d71e5fa6eb5009297a94e0.zip | |
(Fsnarf_documentation): Ignore new file name entries.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc.c | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -1,5 +1,6 @@ | |||
| 1 | /* Record indices of function doc strings stored in a file. | 1 | /* Record indices of function doc strings stored in a file. |
| 2 | Copyright (C) 1985, 86,93,94,95,97,98,99, 2000 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 86,93,94,95,97,98,99,2000,04 |
| 3 | Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 5 | 6 | ||
| @@ -612,8 +613,7 @@ the same file name is found in the `data-directory'. */) | |||
| 612 | *p = '_'; | 613 | *p = '_'; |
| 613 | p++; | 614 | p++; |
| 614 | } | 615 | } |
| 615 | #endif /* not VMS4_4 */ | 616 | #else /* VMS4_4 */ |
| 616 | #ifdef VMS4_4 | ||
| 617 | strcpy (name, sys_translate_unix (name)); | 617 | strcpy (name, sys_translate_unix (name)); |
| 618 | #endif /* VMS4_4 */ | 618 | #endif /* VMS4_4 */ |
| 619 | #endif /* VMS */ | 619 | #endif /* VMS */ |
| @@ -660,6 +660,9 @@ the same file name is found in the `data-directory'. */) | |||
| 660 | else if (p[1] == 'F') | 660 | else if (p[1] == 'F') |
| 661 | store_function_docstring (sym, pos + end + 1 - buf); | 661 | store_function_docstring (sym, pos + end + 1 - buf); |
| 662 | 662 | ||
| 663 | else if (p[1] == 'S') | ||
| 664 | ; /* Just a source file name boundary marker. Ignore it. */ | ||
| 665 | |||
| 663 | else | 666 | else |
| 664 | error ("DOC file invalid at position %d", pos); | 667 | error ("DOC file invalid at position %d", pos); |
| 665 | } | 668 | } |