]> git.eshelyaron.com Git - emacs.git/commitdiff
(add_declarator): Test *CLS instead of CLS.
authorGerd Moellmann <gerd@gnu.org>
Sun, 21 Apr 2002 12:49:36 +0000 (12:49 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sun, 21 Apr 2002 12:49:36 +0000 (12:49 +0000)
lib-src/ChangeLog
lib-src/ebrowse.c

index 9bdf8a4fd49bb2a65ee7675b30e52ecb03548b7c..863f53ce747bd46d591857afcf7ceea28ed477c3 100644 (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
index 81dbf73455a860b3180d85b563ed87d974268d56..f49d3cdafdaf1704473f70582dd254fd890b7678 100644 (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);