Commit c901ceff authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(add_declarator): Test *CLS instead of CLS.

parent 758bf24f
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment