[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texi2html fails on empty macro
From: |
Werner LEMBERG |
Subject: |
texi2html fails on empty macro |
Date: |
Thu, 20 Nov 2008 10:19:00 +0100 (CET) |
[texi2html.pl,v 1.237 2008/09/25]
Using an empty macro defined with
@macro foo
@end macro
makes texi2html fail with
Modification of non-creatable array value attempted,
subscript -1 at texi2html line 19323.
This happens in function `expand_macro',
if (chomp($last_line))
{
push @result, $end_line;
}
else
{
$result[-1] .= $end_line; <== here
}
Looking into the current CVS version it seems the error is still
present.
Werner
- texi2html fails on empty macro,
Werner LEMBERG <=