Mercurial > emacs
changeset 14021:19bab04cf346
(substitute): Fix spelling in message.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 05 Jan 1996 00:52:01 +0000 |
parents | 1ea8008d4bd8 |
children | b7bb85cdc666 |
files | lib-src/etags.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/etags.c Fri Jan 05 00:49:06 1996 +0000 +++ b/lib-src/etags.c Fri Jan 05 00:52:01 1996 +0000 @@ -1249,7 +1249,7 @@ np->lno = lno; /* Our char numbers are 0-base, because of C language tradition? ctags compatibility? old versions compatibility? I don't know. - Anyway, since emacs's are 1-base we espect etags.el to take care + Anyway, since emacs's are 1-base we expect etags.el to take care of the difference. If we wanted to have 1-based numbers, we would uncomment the +1 below. */ np->cno = cno /* + 1 */ ; @@ -1653,7 +1653,7 @@ /* * typedefs are recognized using a simple finite automaton. - * typeddef is its state variable. + * typdef is its state variable. */ enum { @@ -1970,7 +1970,7 @@ /* Memory leakage here: the string pointed by objtag is never released, because many tests would be needed to avoid breaking on incorrect input code. The amount of - memory leaked here is the sum of the lenghts of the + memory leaked here is the sum of the lengths of the class tags. free (objtag); */ objdef = onone; @@ -2577,7 +2577,7 @@ /* Memory leakage here: the string pointed by structtag is never released, because I fear to miss something and break things while freeing the area. The amount of - memory leaked here is the sum of the lenghts of the + memory leaked here is the sum of the lengths of the struct tags. if (structdef == sinbody) free (structtag); */ @@ -3552,7 +3552,7 @@ #ifdef ETAGS_REGEXPS /* Take a string like "/blah/" and turn it into "blah", making sure that the first and last characters are the same, and handling - quoted separator characters. Actually, stops on the occurence of + quoted separator characters. Actually, stops on the occurrence of an unquoted separator. Also turns "\t" into a Tab character. Returns pointer to terminating separator. Works in place. Null terminates name string. */ @@ -3674,7 +3674,7 @@ ++t; if (!*t) { - fprintf (stderr, "%s: pattern subtitution ends prematurely\n", + fprintf (stderr, "%s: pattern substitution ends prematurely\n", progname); return NULL; }