bug-texinfo
[Top][All Lists]
Advanced

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

compiling gri fails on texinfo-


From: sborg63
Subject: compiling gri fails on texinfo-
Date: Tue, 22 Oct 2019 13:23:34 +0100

Hi, when I try to compile gri (https://github.com/dankelley/gri) on a
recent slackware64-current it fails with this error during compilation:

> utf8 "\xF3" does not map to Unicode
>at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line
> 19280.
>
>Malformed UTF-8 character: \xf3\x70\x65\x7a (unexpected
>non-continuation byte 0x70, immediately after start byte 0xf3; need 4
>bytes, got 1) in pattern match (m//)
>at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
>Malformed UTF-8 character (fatal)
>at /usr/share/texinfo/Texinfo/ParserNonXS.pm

On this system we have now:
texinfo-6.7-x86_64-1 

the error is in this function-call
of /usr/share/texinfo/Texinfo/ParserNonXS.pm
># This combines several regular expressions used in '_parse_texi' to
># look at what is next on the remaining part of the line.
># NOTE - this sub has an XS override
>sub _parse_texi_regex {
> my ($line) = @_;
>
>  my ($at_command, $open_brace, $asterisk, $single_letter_command,
>      $separator_match, $misc_text)
>   = ($line =~ /^\@([[:alnum:]][[:alnum:]-]*)
>                |^(\{)
>                |^(\*)
>                |^\@(["'~\@&\}\{,\.!\? \t\n\*\-\^`=:\|\/\\])
>                |^([{}@,:\t.\f])
>                |^([^{}@,:\t.\n\f]+)
>                /x);
>
>  if ($open_brace) {
>    $separator_match = $open_brace;
>  } elsif ($asterisk) {
>    ($misc_text) = ($line =~ /^([^{}@,:\t.\n\f]+)/);
>  }
>
>  return ($at_command, $open_brace, $asterisk, $single_letter_command,
>    $separator_match, $misc_text);
>}

Is this a fault in gri or in texinfo? (or on my system??)

Cheers,

Rob



reply via email to

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