Mercurial > emacs
comparison src/doc.c @ 109920:1d18d0c81be1
* doc.c (Fsnarf_documentation): Initialize skip_file before build-files test.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Fri, 13 Aug 2010 12:32:37 +0200 |
parents | 1d1d5d9bd884 |
children | ac121cf6d1fc |
comparison
equal
deleted
inserted
replaced
109919:f0dab256c4f7 | 109920:1d18d0c81be1 |
---|---|
642 while (p != end && *p != '\037') p++; | 642 while (p != end && *p != '\037') p++; |
643 /* p points to ^_Ffunctionname\n or ^_Vvarname\n. */ | 643 /* p points to ^_Ffunctionname\n or ^_Vvarname\n. */ |
644 if (p != end) | 644 if (p != end) |
645 { | 645 { |
646 end = (char *) index (p, '\n'); | 646 end = (char *) index (p, '\n'); |
647 skip_file = 0; | |
647 | 648 |
648 /* See if this is a file name, and if it is a file in build-files. */ | 649 /* See if this is a file name, and if it is a file in build-files. */ |
649 if (p[1] == 'S' && end - p > 4 && end[-2] == '.' | 650 if (p[1] == 'S' && end - p > 4 && end[-2] == '.' |
650 && (end[-1] == 'o' || end[-1] == 'c')) | 651 && (end[-1] == 'o' || end[-1] == 'c')) |
651 { | 652 { |