From 7994f86ec5e18f9d0d9f90161a2f26dd26d26af7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 4 Jul 2021 03:01:24 +0000 Subject: CTAN sync 202107040301 --- .../texinfo/texinfo/tp/Texinfo/XS/parsetexi/Parsetexi.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/Parsetexi.c') diff --git a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/Parsetexi.c b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/Parsetexi.c index b96050c8f6..0a123eeae6 100644 --- a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/Parsetexi.c +++ b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/Parsetexi.c @@ -588,6 +588,22 @@ XS_EUPXS(XS_Texinfo__Parser_conf_set_IGNORE_SPACE_AFTER_BRACED_COMMAND_NAME) } +XS_EUPXS(XS_Texinfo__Parser_set_novalidate); /* prototype to pass -Wmissing-prototypes */ +XS_EUPXS(XS_Texinfo__Parser_set_novalidate) +{ + dVAR; dXSARGS; + if (items != 1) + croak_xs_usage(cv, "i"); + { + int i = (int)SvIV(ST(0)) +; + + set_novalidate(i); + } + XSRETURN_EMPTY; +} + + XS_EUPXS(XS_Texinfo__Parser_set_documentlanguage); /* prototype to pass -Wmissing-prototypes */ XS_EUPXS(XS_Texinfo__Parser_set_documentlanguage) { @@ -671,6 +687,7 @@ XS_EXTERNAL(boot_Texinfo__Parser) (void)newXSproto_portable("Texinfo::Parser::conf_set_show_menu", XS_Texinfo__Parser_conf_set_show_menu, file, "$"); (void)newXSproto_portable("Texinfo::Parser::conf_set_CPP_LINE_DIRECTIVES", XS_Texinfo__Parser_conf_set_CPP_LINE_DIRECTIVES, file, "$"); (void)newXSproto_portable("Texinfo::Parser::conf_set_IGNORE_SPACE_AFTER_BRACED_COMMAND_NAME", XS_Texinfo__Parser_conf_set_IGNORE_SPACE_AFTER_BRACED_COMMAND_NAME, file, "$"); + (void)newXSproto_portable("Texinfo::Parser::set_novalidate", XS_Texinfo__Parser_set_novalidate, file, "$"); (void)newXSproto_portable("Texinfo::Parser::set_documentlanguage", XS_Texinfo__Parser_set_documentlanguage, file, "$"); (void)newXSproto_portable("Texinfo::Parser::set_debug", XS_Texinfo__Parser_set_debug, file, "$"); #if PERL_VERSION_LE(5, 21, 5) -- cgit v1.2.3