diff options
| author | Karl Heuer | 1996-01-05 00:52:01 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-05 00:52:01 +0000 |
| commit | 15294654d6afed436213a0a86e0faa92b6bf6724 (patch) | |
| tree | 93edcbfc8bf0d51a05b5a39c8b432ff3a11e41f0 /lib-src | |
| parent | 94684a2e921fb5326d102f613b7ba1eb6f7928b3 (diff) | |
| download | emacs-15294654d6afed436213a0a86e0faa92b6bf6724.tar.gz emacs-15294654d6afed436213a0a86e0faa92b6bf6724.zip | |
(substitute): Fix spelling in message.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 7a7c30b157d..d1186197a4d 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -1249,7 +1249,7 @@ pfnote (name, is_func, linestart, linelen, lno, cno) | |||
| 1249 | np->lno = lno; | 1249 | np->lno = lno; |
| 1250 | /* Our char numbers are 0-base, because of C language tradition? | 1250 | /* Our char numbers are 0-base, because of C language tradition? |
| 1251 | ctags compatibility? old versions compatibility? I don't know. | 1251 | ctags compatibility? old versions compatibility? I don't know. |
| 1252 | Anyway, since emacs's are 1-base we espect etags.el to take care | 1252 | Anyway, since emacs's are 1-base we expect etags.el to take care |
| 1253 | of the difference. If we wanted to have 1-based numbers, we would | 1253 | of the difference. If we wanted to have 1-based numbers, we would |
| 1254 | uncomment the +1 below. */ | 1254 | uncomment the +1 below. */ |
| 1255 | np->cno = cno /* + 1 */ ; | 1255 | np->cno = cno /* + 1 */ ; |
| @@ -1653,7 +1653,7 @@ enum | |||
| 1653 | 1653 | ||
| 1654 | /* | 1654 | /* |
| 1655 | * typedefs are recognized using a simple finite automaton. | 1655 | * typedefs are recognized using a simple finite automaton. |
| 1656 | * typeddef is its state variable. | 1656 | * typdef is its state variable. |
| 1657 | */ | 1657 | */ |
| 1658 | enum | 1658 | enum |
| 1659 | { | 1659 | { |
| @@ -1970,7 +1970,7 @@ consider_token (str, len, c, c_ext, cblev, parlev, is_func) | |||
| 1970 | /* Memory leakage here: the string pointed by objtag is | 1970 | /* Memory leakage here: the string pointed by objtag is |
| 1971 | never released, because many tests would be needed to | 1971 | never released, because many tests would be needed to |
| 1972 | avoid breaking on incorrect input code. The amount of | 1972 | avoid breaking on incorrect input code. The amount of |
| 1973 | memory leaked here is the sum of the lenghts of the | 1973 | memory leaked here is the sum of the lengths of the |
| 1974 | class tags. | 1974 | class tags. |
| 1975 | free (objtag); */ | 1975 | free (objtag); */ |
| 1976 | objdef = onone; | 1976 | objdef = onone; |
| @@ -2577,7 +2577,7 @@ C_entries (c_ext, inf) | |||
| 2577 | /* Memory leakage here: the string pointed by structtag is | 2577 | /* Memory leakage here: the string pointed by structtag is |
| 2578 | never released, because I fear to miss something and | 2578 | never released, because I fear to miss something and |
| 2579 | break things while freeing the area. The amount of | 2579 | break things while freeing the area. The amount of |
| 2580 | memory leaked here is the sum of the lenghts of the | 2580 | memory leaked here is the sum of the lengths of the |
| 2581 | struct tags. | 2581 | struct tags. |
| 2582 | if (structdef == sinbody) | 2582 | if (structdef == sinbody) |
| 2583 | free (structtag); */ | 2583 | free (structtag); */ |
| @@ -3552,7 +3552,7 @@ skip_comment (plb, inf, plineno, plinecharno) | |||
| 3552 | #ifdef ETAGS_REGEXPS | 3552 | #ifdef ETAGS_REGEXPS |
| 3553 | /* Take a string like "/blah/" and turn it into "blah", making sure | 3553 | /* Take a string like "/blah/" and turn it into "blah", making sure |
| 3554 | that the first and last characters are the same, and handling | 3554 | that the first and last characters are the same, and handling |
| 3555 | quoted separator characters. Actually, stops on the occurence of | 3555 | quoted separator characters. Actually, stops on the occurrence of |
| 3556 | an unquoted separator. Also turns "\t" into a Tab character. | 3556 | an unquoted separator. Also turns "\t" into a Tab character. |
| 3557 | Returns pointer to terminating separator. Works in place. Null | 3557 | Returns pointer to terminating separator. Works in place. Null |
| 3558 | terminates name string. */ | 3558 | terminates name string. */ |
| @@ -3674,7 +3674,7 @@ substitute (in, out, regs) | |||
| 3674 | ++t; | 3674 | ++t; |
| 3675 | if (!*t) | 3675 | if (!*t) |
| 3676 | { | 3676 | { |
| 3677 | fprintf (stderr, "%s: pattern subtitution ends prematurely\n", | 3677 | fprintf (stderr, "%s: pattern substitution ends prematurely\n", |
| 3678 | progname); | 3678 | progname); |
| 3679 | return NULL; | 3679 | return NULL; |
| 3680 | } | 3680 | } |