summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo/makeinfo/macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/texinfo/makeinfo/macro.c')
-rw-r--r--contrib/texinfo/makeinfo/macro.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/texinfo/makeinfo/macro.c b/contrib/texinfo/makeinfo/macro.c
index 8c89da2..2bba378 100644
--- a/contrib/texinfo/makeinfo/macro.c
+++ b/contrib/texinfo/makeinfo/macro.c
@@ -1,7 +1,7 @@
/* macro.c -- user-defined macros for Texinfo.
- $Id: macro.c,v 1.10 1999/08/17 21:06:35 karl Exp $
+ $Id: macro.c,v 1.12 2002/03/02 15:05:21 karl Exp $
- Copyright (C) 1998, 99 Free Software Foundation, Inc.
+ Copyright (C) 1998, 99, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -590,10 +590,8 @@ define_macro (mactype, recursive)
{
if ((input_text_offset + 9) > input_text_length)
{
- int temp_line = line_number;
- line_number = defining_line;
- line_error (_("%cend macro not found"), COMMAND_PREFIX);
- line_number = temp_line;
+ file_line_error (input_filename, defining_line,
+ _("%cend macro not found"), COMMAND_PREFIX);
return;
}
@@ -1002,6 +1000,8 @@ cm_alias ()
skip_whitespace ();
get_until_in_line (1, "=", &(a->alias));
+ canon_white (a->alias);
+
discard_until ("=");
skip_whitespace ();
get_until_in_line (0, " ", &(a->mapto));
OpenPOWER on IntegriCloud