(globals): Fix handling of namespace aliases.
authorGerd Moellmann <gerd@gnu.org>
Thu, 3 May 2001 11:57:57 +0000 (11:57 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 3 May 2001 11:57:57 +0000 (11:57 +0000)
lib-src/ChangeLog
lib-src/ebrowse.c

index 050436c..16381d3 100644 (file)
@@ -1,3 +1,7 @@
+2001-05-03  Gerd Moellmann  <gerd@gnu.org>
+
+       * ebrowse.c (globals): Fix handling of namespace aliases.
+
 2001-04-27  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * etags.c (print_help): Enclose the regexp in the help text
index cdd3ccb..8177cb7 100644 (file)
@@ -3303,9 +3303,12 @@ globals (start_flags)
                 
                 if (LOOKING_AT ('='))
                   {
+                   MATCH ();
+                   if (LOOKING_AT (IDENT))
+                     register_namespace_alias (namespace_name, yytext);
+                     
                     if (skip_to (';') == ';')
                       MATCH ();
-                    register_namespace_alias (namespace_name, yytext);
                   }
                 else if (LOOKING_AT ('{'))
                   {