On Sun, 9 Jul 2023 at 11:06, Gavin Smith <[email protected]> wrote:
> In gettext 0.22, there is an error running xgettext with a large input
> file:
>
> $ /usr/local/bin/xgettext HTML.pm
> HTML.pm:8052: error: too deeply nested expressions
>
> This makes "make update-po" break in the Texinfo package.
>
> I have tried to reduce the input file to a minimal case by deleting
> chunks of the file but beyond a certain point the error disappears.
>
> For example, just removing the three lines
>
> foreach my $def_command (keys(%def_commands)) {
> $formatted_line_commands{$def_command} = 1 if
> ($line_commands{$def_command});
> }
>
> from early in the file makes the error go away.
>
> I expect whatever counting of "nested expressions" is being done
> isn't counting correctly.
>
OK so what should be fixed?🤔 gettext?
kloczek
--
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH