[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/m4/input.c,v
From: |
Eric Blake |
Subject: |
Changes to m4/m4/input.c,v |
Date: |
Tue, 05 Sep 2006 23:16:41 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/09/05 23:16:40
Index: m4/input.c
===================================================================
RCS file: /sources/m4/m4/m4/input.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- m4/input.c 5 Sep 2006 16:58:02 -0000 1.45
+++ m4/input.c 5 Sep 2006 23:16:39 -0000 1.46
@@ -222,14 +222,12 @@
static void
file_clean (m4 *context)
{
- if (m4_is_debug_bit (context, M4_DEBUG_TRACE_INPUT))
- {
if (isp->u.u_f.lineno)
- M4_DEBUG_MESSAGE2 (context, _("input reverted to %s, line %d"),
+ m4_debug_message (context, M4_DEBUG_TRACE_INPUT,
+ _("input reverted to %s, line %d"),
isp->u.u_f.name, isp->u.u_f.lineno);
else
- M4_DEBUG_MESSAGE (context, _("input exhausted"));
- }
+ m4_debug_message (context, M4_DEBUG_TRACE_INPUT, _("input exhausted"));
fclose (isp->u.u_f.file);
m4_set_current_file (context, isp->u.u_f.name);
@@ -255,8 +253,8 @@
next = NULL;
}
- if (BIT_TEST (m4_get_debug_level_opt (context), M4_DEBUG_TRACE_INPUT))
- M4_DEBUG_MESSAGE1 (context, _("input read from %s"), title);
+ m4_debug_message (context, M4_DEBUG_TRACE_INPUT,
+ _("input read from %s"), title);
i = (input_block *) obstack_alloc (current_input,
sizeof (struct input_block));