Spelling fixes

This commit is contained in:
chase
2018-05-26 11:50:47 -05:00
committed by Jon Trulson
parent 8d2fe2486c
commit 809c3d8bb6
146 changed files with 240 additions and 240 deletions

View File

@@ -289,7 +289,7 @@ Browse()
else if (!strcmp(cmd, "quit")) break;
else
fprintf(stderr, "Unknown command '%s' - ingored.\n", cmd);
fprintf(stderr, "Unknown command '%s' - ignored.\n", cmd);
}
putc(NL, stdout);
}

View File

@@ -271,7 +271,7 @@ PrintStats(
int dif_el=0, tot_el=0, tot_data=0, nchars, max_depth=0;
float pct;
fprintf(outfp, "%-22s %s %s\n", "Element name", "Occurrances", "Character Content");
fprintf(outfp, "%-22s %s %s\n", "Element name", "Occurrences", "Character Content");
fprintf(outfp, "%-22s %s %s\n", "---------------", "-----------", "-----------------");
acc_tots(top, &tot_el, &tot_data, &max_depth);

View File

@@ -477,7 +477,7 @@ AccumElemInfo(
case CMD_LINE: /* Llineno */
/* These lines come in 2 forms: "L123" and "L123 file.sgml".
* Filename is given only at 1st occurance. Remember it.
* Filename is given only at 1st occurrence. Remember it.
*/
if ((cp = strchr(buf, ' '))) {
cp++;

View File

@@ -99,7 +99,7 @@ typedef struct _Trans {
char *gi; /* element name of tag under consideration */
char **gilist; /* list of element names (multiple gi's) */
char *context; /* context in tree - looking depth levels up */
regexp *context_re; /* tree heirarchy looking depth levels up */
regexp *context_re; /* tree hierarchy looking depth levels up */
int depth; /* number of levels to look up the tree */
AttPair_t *attpair; /* attr name-value pairs */
int nattpairs; /* number of name-value pairs */