[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: ParserNonXS: Fix minor Perl error
From: |
Arsen Arsenović |
Subject: |
branch master updated: ParserNonXS: Fix minor Perl error |
Date: |
Wed, 25 Jan 2023 08:45:14 -0500 |
This is an automated email from the git hooks/post-receive script.
arsen pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new c25b91db3f ParserNonXS: Fix minor Perl error
c25b91db3f is described below
commit c25b91db3fadfd901a35bd21f277be1aaf5226c5
Author: Arsen Arsenović <arsen@aarsen.me>
AuthorDate: Wed Jan 25 13:33:43 2023 +0100
ParserNonXS: Fix minor Perl error
* tp/Texinfo/ParserNonXS.pm (_check_valid_nesting_context): Escape
invalid uses of @.
---
ChangeLog | 7 +++++++
tp/Texinfo/ParserNonXS.pm | 6 +++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8153b2e3b8..feb1f7c11c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-01-25 Arsen Arsenović <arsen@aarsen.me>
+
+ ParserNonXS: Fix minor Perl error
+
+ * tp/Texinfo/ParserNonXS.pm (_check_valid_nesting_context): Escape
+ invalid uses of @.
+
2023-01-23 Gavin Smith <gavinsmith0123@gmail.com>
* tp/Texinfo/ParserNonXS.pm (_process_remaining_on_line) <close brace>,
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index da95e5a647..11b4639816 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -4301,16 +4301,16 @@ sub _check_valid_nesting_context
if (($command eq 'caption' or $command eq 'shortcaption')
and $self->{'nesting_context'}->{'caption'}) {
$self->_line_warn(sprintf(
- __("@%s should not appear anywhere inside caption"),
+ __("\@%s should not appear anywhere inside caption"),
$command), $source_info);
} elsif ($Texinfo::Commands::ref_commands{$command}
and $self->{'nesting_context'}->{'xref'}) {
$self->_line_warn(sprintf(
- __("@%s should not appear anywhere inside cross-reference"),
+ __("\@%s should not appear anywhere inside cross-reference"),
$command), $source_info);
}
$self->_line_warn(sprintf(
- __("@%s should not appear anywhere inside @%s"),
+ __("\@%s should not appear anywhere inside \@%s"),
$command, $invalid_context), $source_info)
if ($invalid_context);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: ParserNonXS: Fix minor Perl error,
Arsen Arsenović <=