m4-commit
[Top][All Lists]
Advanced

[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: Wed, 04 Oct 2006 03:57:03 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/10/04 03:57:01

Index: m4/input.c
===================================================================
RCS file: /sources/m4/m4/m4/input.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- m4/input.c  29 Sep 2006 13:33:13 -0000      1.48
+++ m4/input.c  4 Oct 2006 03:57:00 -0000       1.49
@@ -243,10 +243,10 @@
              m4_get_current_file (context));
   m4_set_current_file (context, isp->u.u_f.name);
   m4_set_current_line (context, isp->u.u_f.lineno);
-  m4_output_current_line = isp->u.u_f.out_lineno;
+  m4_set_output_line (context, isp->u.u_f.out_lineno);
   start_of_input_line = isp->u.u_f.advance_line;
   if (isp->prev != NULL)
-    m4_output_current_line = -1;
+    m4_set_output_line (context, -1);
 }
 
 static struct input_funcs file_funcs = {
@@ -285,13 +285,13 @@
   i->u.u_f.end = false;
   i->u.u_f.name = m4_get_current_file (context);
   i->u.u_f.lineno = m4_get_current_line (context);
-  i->u.u_f.out_lineno = m4_output_current_line;
+  i->u.u_f.out_lineno = m4_get_output_line (context);
   i->u.u_f.advance_line = start_of_input_line;
 
   m4_set_current_file (context, obstack_copy0 (current_input, title,
                                               strlen (title)));
   m4_set_current_line (context, 1);
-  m4_output_current_line = -1;
+  m4_set_output_line (context, -1);
 
   i->prev = isp;
   isp = i;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]