mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
* ebrowse.c (insert_keyword): Rename parameter to avoid shadowing diagnostic.
This commit is contained in:
parent
34e6d7823a
commit
70279bd1cb
@ -3,6 +3,7 @@
|
||||
* ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
|
||||
All callers changed. This is cleaner, and avoids GCC warnings about
|
||||
passing NULL to fputs.
|
||||
(insert_keyword): Rename parameter to avoid shadowing diagnostic.
|
||||
|
||||
2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
|
@ -2063,11 +2063,11 @@ re_init_scanner (void)
|
||||
}
|
||||
|
||||
|
||||
/* Insert a keyword NAME with token value TK into the keyword hash
|
||||
/* Insert a keyword NAME with token value TKV into the keyword hash
|
||||
table. */
|
||||
|
||||
static void
|
||||
insert_keyword (const char *name, int tk)
|
||||
insert_keyword (const char *name, int tkv)
|
||||
{
|
||||
const char *s;
|
||||
unsigned h = 0;
|
||||
@ -2078,7 +2078,7 @@ insert_keyword (const char *name, int tk)
|
||||
|
||||
h %= KEYWORD_TABLE_SIZE;
|
||||
k->name = name;
|
||||
k->tk = tk;
|
||||
k->tk = tkv;
|
||||
k->next = keyword_table[h];
|
||||
keyword_table[h] = k;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user