1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08: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

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