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:
parent
758bf24f76
commit
c901ceff74
2 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue