Index: makeinfo/makeinfo.c =================================================================== RCS file: /cvsroot/texinfo/texinfo/makeinfo/makeinfo.c,v retrieving revision 1.43 retrieving revision 1.41 diff -u -p -r1.43 -r1.41 --- makeinfo/makeinfo.c 7 Feb 2004 11:36:39 -0000 1.43 +++ makeinfo/makeinfo.c 3 Feb 2004 12:15:59 -0000 1.41 @@ -1,5 +1,5 @@ /* makeinfo -- convert Texinfo source into other formats. - $Id: makeinfo.c,v 1.43 2004/02/07 11:36:39 dirt Exp $ + $Id: makeinfo.c,v 1.41 2004/02/03 12:15:59 dirt Exp $ Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. @@ -3230,8 +3230,8 @@ search_forward_until_pos (string, from, int next_nonwhitespace_character () { - /* First check the current input_text. Start from the next char because - we already have input_text[input_text_offset] in ``current''. */ + /* 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) @@ -3240,28 +3240,6 @@ next_nonwhitespace_character () return input_text[pos]; pos++; } - - { /* Can't find a valid character, so go through filestack - in case we are doing @include or expanding a macro. */ - FSTACK *tos = filestack; - - while (tos) - { - 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++; - } - - tos = tos->next; - } - } - return -1; }