1
0
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:
Gerd Moellmann 2002-04-21 12:49:36 +00:00
parent 758bf24f76
commit c901ceff74
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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);