summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-05-03 11:57:57 +0000
committerGerd Moellmann <gerd@gnu.org>2001-05-03 11:57:57 +0000
commitefbecf9d71e77a9dd1b2d1fb51828530cb293a59 (patch)
tree9a1c900878f48ad0a1e98a71328fba6040759114 /lib-src
parent7198b45925871d0d77b8fea7cd9be818aa6806d1 (diff)
downloademacs-efbecf9d71e77a9dd1b2d1fb51828530cb293a59.tar.gz
(globals): Fix handling of namespace aliases.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/ebrowse.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 050436c7732..16381d3030a 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -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
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index cdd3ccba2c5..8177cb73cfb 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -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 ('{'))
{