mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
(add_declarator): Test *CLS instead of CLS.
This commit is contained in:
parent
758bf24f76
commit
c901ceff74
@ -1,3 +1,7 @@
|
||||
2002-04-21 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* ebrowse.c (add_declarator): Test *CLS instead of CLS.
|
||||
|
||||
2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* update-game-score.c: Move config.h before the other headers, to
|
||||
|
@ -3250,7 +3250,7 @@ add_declarator (cls, id, flags, sc)
|
||||
char *regexp = matching_regexp ();
|
||||
int pos = BUFFER_POS ();
|
||||
|
||||
if (cls)
|
||||
if (*cls)
|
||||
add_member_defn (*cls, *id, regexp, pos, 0, 1, SC_UNKNOWN, flags);
|
||||
else
|
||||
add_global_defn (*id, regexp, pos, 0, 1, sc, flags);
|
||||
|
Loading…
Reference in New Issue
Block a user