Changeset b0d726 in git
- Timestamp:
- Aug 19, 1999, 5:18:58 PM (25 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 3fe3582ddaecd797418eb656ac7963afdae714a5
- Parents:
- b21d632ab9ee617446383757c9e7182e563e5ced
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/utils.cc
rb21d63 rb0d726 188 188 if (texinfo_out) 189 189 { 190 190 if ((! pi->is_static) && 191 191 (pi->data.s.body_start - pi->data.s.def_end > 10) && 192 (pi->data.s.example_start > 0) &&193 (pi->data.s.proc_end - pi->data.s.example_start > 10) &&194 192 (! found_proc_in_proc)) 195 193 { … … 197 195 printf("$help{\"%s\"} = <<EOT;\n", pi->procname); 198 196 PrintOut(fp, pi->data.s.help_start, pi->data.s.body_start-3); 199 printf("\nEOT\n$example{\"%s\"} = <<EOT;\n", pi->procname);200 PrintOut(fp, pi->data.s.example_start, pi->data.s.proc_end);201 197 printf("\nEOT\n"); 198 if ((pi->data.s.example_start > 0) && 199 (pi->data.s.proc_end - pi->data.s.example_start > 10)) 200 { 201 printf("$example{\"%s\"} = <<EOT;\n", pi->procname); 202 PrintOut(fp, pi->data.s.example_start, pi->data.s.proc_end); 203 printf("\nEOT\n"); 204 } 202 205 printf("$chksum{\"%s\"} = %d;\n", pi->procname, pi->data.s.help_chksum); 203 206 }
Note: See TracChangeset
for help on using the changeset viewer.