Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
70279bd1
Commit
70279bd1
authored
Feb 25, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ebrowse.c (insert_keyword): Rename parameter to avoid shadowing diagnostic.
parent
34e6d782
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
lib-src/ChangeLog
lib-src/ChangeLog
+1
-0
lib-src/ebrowse.c
lib-src/ebrowse.c
+3
-3
No files found.
lib-src/ChangeLog
View file @
70279bd1
...
...
@@ -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>
...
...
lib-src/ebrowse.c
View file @
70279bd1
...
...
@@ -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 TK
V
into the keyword hash
table. */
static
void
insert_keyword
(
const
char
*
name
,
int
tk
)
insert_keyword
(
const
char
*
name
,
int
tk
v
)
{
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
=
tk
v
;
k
->
next
=
keyword_table
[
h
];
keyword_table
[
h
]
=
k
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment