m4-commit@gnu.org
[Top] [All Lists]

Changes to m4/src/Attic/input.c,v [branch-1_4]

Subject: Changes to m4/src/Attic/input.c,v [branch-1_4]
From: Eric Blake
Date: Wed, 23 Aug 2006 11:30:12 +0000
CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/08/23 11:30:11

Index: src/input.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/input.c,v
retrieving revision 1.1.1.1.2.20
retrieving revision 1.1.1.1.2.21
diff -u -b -r1.1.1.1.2.20 -r1.1.1.1.2.21
--- src/input.c 18 Aug 2006 16:28:22 -0000      1.1.1.1.2.20
+++ src/input.c 23 Aug 2006 11:30:11 -0000      1.1.1.1.2.21
@@ -311,8 +311,13 @@
 
     case INPUT_FILE:
       if (debug_level & DEBUG_TRACE_INPUT)
+       {
+         if (isp->u.u_f.lineno)
        DEBUG_MESSAGE2 ("input reverted to %s, line %d",
                        isp->u.u_f.name, isp->u.u_f.lineno);
+         else
+           DEBUG_MESSAGE ("input exhausted");
+       }
 
       if (ferror (isp->u.u_f.file))
        {


<Prev in Thread] Current Thread [Next in Thread>