[Top][All Lists]

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

warnings ignoring parser configuration value

From: Patrice Dumas
Subject: warnings ignoring parser configuration value
Date: Sun, 21 Feb 2021 00:40:40 +0100


Just tried

./texi2any.pl -c CHECK_NORMAL_MENU_STRUCTURE=1 test_b.texi

And I get a warning
 ignoring parser configuration value "CHECK_NORMAL_MENU_STRUCTURE"

It is from

I think that it is because it is in Common.pm %default_customization_values
such that it is passed to the parser in texi2any.pl l 1078, but
it is not whitelisted in tp/Texinfo/XS/parsetexi/Parsetexi.pm.  I see
that l 1260 of texi2any.pl Texinfo::Structuring::nodes_tree is indeed
called with a parser object.

What about splitting %default_customization_values in two,
and put the options that are not rlevant for the parser in 
and modify tp/Texinfo/XS/parsetexi/Parsetexi.pm such that it does not
warn about keys in %default_structure_customization_values?


reply via email to

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