[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/makeinfo makeinfo.c,1.27,1.28 makeinfo.h,1.2,1.3
From: |
dirt |
Subject: |
texinfo/makeinfo makeinfo.c,1.27,1.28 makeinfo.h,1.2,1.3 |
Date: |
Thu, 8 Jan 2004 01:15:47 +0100 |
Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv25093/makeinfo
Modified Files:
makeinfo.c makeinfo.h
Log Message:
2004-01-08 Alper Ersoy <address@hidden>
* makeinfo/makeinfo.h: new variable output_line_number.
* makeinfo/makeinfo.c (flush_output): keep number of lines in the
flushed data, in output_line_number variable.
Index: makeinfo.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/makeinfo.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** makeinfo.c 6 Jan 2004 18:42:10 -0000 1.27
--- makeinfo.c 8 Jan 2004 00:15:45 -0000 1.28
***************
*** 2933,2936 ****
--- 2933,2939 ----
for (i = 0; i < output_paragraph_offset; i++)
{
+ if (output_paragraph[i] == '\n')
+ output_line_number++;
+
/* If we turned on the 8th bit for a space inside @w, turn it
back off for output. This might be problematic, since the
Index: makeinfo.h
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/makeinfo.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** makeinfo.h 6 Jan 2004 17:41:52 -0000 1.2
--- makeinfo.h 8 Jan 2004 00:15:45 -0000 1.3
***************
*** 62,65 ****
--- 62,68 ----
DECLARE (int, output_position, 0);
+ /* Number of lines in the output. */
+ DECLARE (int, output_line_number, 1);
+
/* The offset into OUTPUT_PARAGRAPH where we have a meta character
produced by a markup such as @code or @dfn. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/makeinfo makeinfo.c,1.27,1.28 makeinfo.h,1.2,1.3,
dirt <=