Spelling fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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++;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user