CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 06/08/23 11:39:26
Index: m4/input.c =================================================================== RCS file: /sources/m4/m4/m4/input.c,v retrieving revision 1.43 retrieving revision 1.44 diff -u -b -r1.43 -r1.44 --- m4/input.c 16 Aug 2006 12:23:04 -0000 1.43 +++ m4/input.c 23 Aug 2006 11:39:26 -0000 1.44 @@ -223,8 +223,13 @@ 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"), isp->u.u_f.name, isp->u.u_f.lineno); + else + M4_DEBUG_MESSAGE (context, _("input exhausted")); + } fclose (isp->u.u_f.file); m4_set_current_file (context, isp->u.u_f.name);