[Top][All Lists]

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

Re: xref wrapped in macros

From: Alper Ersoy
Subject: Re: xref wrapped in macros
Date: Sat, 7 Feb 2004 12:43:00 +0200
User-agent: Mutt/1.4.1i

Karl Berry:
>     xref-in-macro.texi:14: avertissement: End of file reached while
>     looking for `.' or `,'.

I fixed this by enclosing the next char lookup code into
a loop over filestack.  Patch attached.

Karl, unfortunately this only applies to @ref/@pxref/@xref,
though I guess it would be useful in other cases as well.

As a general fix (or rather precaution), should I change
execute_string in a way that its local input_text includes
a part of the global input_text, but processing stops as
soon as it reaches the end of its original input_text?

Appended text will not affect the execution, but lookups
like input_text[input_text_offset+1] etc. will work even
at macro (and perhaps @include) boundaries.


Alper Ersoy

Attachment: xref-in-macro-fix.diff
Description: Text document

reply via email to

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