changeset 37550:0e7e45f532ad

(globals): Fix handling of namespace aliases.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 03 May 2001 11:57:39 +0000
parents b7c260d40c0b
children 34dda9dfb03a
files lib-src/ebrowse.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ebrowse.c	Thu May 03 07:58:04 2001 +0000
+++ b/lib-src/ebrowse.c	Thu May 03 11:57:39 2001 +0000
@@ -3303,9 +3303,12 @@
                 
                 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 ('{'))
                   {