comparison man/makeinfo.c @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
2902 output_paragraph = 2902 output_paragraph =
2903 xrealloc (output_paragraph, (paragraph_buffer_len += 100)); 2903 xrealloc (output_paragraph, (paragraph_buffer_len += 100));
2904 } 2904 }
2905 } 2905 }
2906 2906
2907 /* Remove upto COUNT characters of whitespace from the 2907 /* Remove upto COUNT characters of whitespace from the current output
2908 the current output line. If COUNT is less than zero, 2908 line. If COUNT is less than zero, then remove until none left. */
2909 then remove until none left. */
2910 static void 2909 static void
2911 kill_self_indent (int count) 2910 kill_self_indent (int count)
2912 { 2911 {
2913 /* Handle infinite case first. */ 2912 /* Handle infinite case first. */
2914 if (count < 0) 2913 if (count < 0)
3199 while (--amount >= 0) 3198 while (--amount >= 0)
3200 insert (' '); 3199 insert (' ');
3201 } 3200 }
3202 3201
3203 /* Search forward for STRING in input_text. 3202 /* Search forward for STRING in input_text.
3204 FROM says where where to start. */ 3203 FROM says where to start. */
3205 static int 3204 static int
3206 search_forward (char *string, int from) 3205 search_forward (char *string, int from)
3207 { 3206 {
3208 int len = strlen (string); 3207 int len = strlen (string);
3209 3208
6082 break; 6081 break;
6083 6082
6084 case IFSET: 6083 case IFSET:
6085 case IFCLEAR: 6084 case IFCLEAR:
6086 /* If IFSET and NAME is not set, or if IFCLEAR and NAME is set, 6085 /* If IFSET and NAME is not set, or if IFCLEAR and NAME is set,
6087 read lines from the the file until we reach a matching 6086 read lines from the file until we reach a matching
6088 "@end CONDITION". This means that we only take note of 6087 "@end CONDITION". This means that we only take note of
6089 "@ifset/clear" and "@end" commands. */ 6088 "@ifset/clear" and "@end" commands. */
6090 { 6089 {
6091 char condition[8]; 6090 char condition[8];
6092 int condition_len; 6091 int condition_len;