changeset 44719:dfc7601deedf

(add_declarator): Test *CLS instead of CLS.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 21 Apr 2002 12:49:14 +0000
parents e1f429a4cfd7
children 88325d9e4264
files lib-src/ebrowse.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ebrowse.c	Sat Apr 20 23:14:02 2002 +0000
+++ b/lib-src/ebrowse.c	Sun Apr 21 12:49:14 2002 +0000
@@ -3250,7 +3250,7 @@
           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);