texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/makeinfo makeinfo.c,1.41,1.42


From: dirt
Subject: texinfo/makeinfo makeinfo.c,1.41,1.42
Date: Sat, 7 Feb 2004 11:26:30 +0100

Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv14369/makeinfo

Modified Files:
        makeinfo.c 
Log Message:
2004-02-07  Alper Ersoy  <address@hidden>

        * makeinfo/makeinfo.c (next_nonwhitespace_character): go through the
        whole filestack looking for the next character.



Index: makeinfo.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/makeinfo.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** makeinfo.c  3 Feb 2004 12:15:59 -0000       1.41
--- makeinfo.c  7 Feb 2004 10:26:28 -0000       1.42
***************
*** 3231,3243 ****
  next_nonwhitespace_character ()
  {
!   /* Start from the next char, because we already hold
!      input_text[input_text_offset] in character variable.  */
!   int pos = input_text_offset + 1;
  
!   while (pos < input_text_length)
      {
!       if (!cr_or_whitespace(input_text[pos]))
!         return input_text[pos];
!       pos++;
      }
    return -1;
--- 3231,3250 ----
  next_nonwhitespace_character ()
  {
!   FSTACK *tos = filestack;
  
!   while (filestack)
      {
!       int tmp_input_text_length = filestack->size;
!       int tmp_input_text_offset = filestack->offset;
!       char *tmp_input_text = filestack->text;
! 
!       while (tmp_input_text_offset < tmp_input_text_length)
!         {
!           if (!cr_or_whitespace(tmp_input_text[tmp_input_text_offset]))
!             return tmp_input_text[tmp_input_text_offset];
!           tmp_input_text_offset++;
!         }
! 
!       filestack = filestack->next;
      }
    return -1;



reply via email to

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