* [Qemu-devel] [PATCH] scripts/text2pod.pl: Escape left brace
@ 2015-10-09 6:42 Fam Zheng
2015-10-29 7:25 ` Michael Tokarev
0 siblings, 1 reply; 3+ messages in thread
From: Fam Zheng @ 2015-10-09 6:42 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial
Latest perl now deprecates "{" literal in regex and print warnings like
"unescaped left brace in regex is deprecated". Add escapes to keep it
happy.
Signed-off-by: Fam Zheng <famz@redhat.com>
---
roms/ipxe | 2 +-
scripts/texi2pod.pl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/roms/ipxe b/roms/ipxe
index 4e03af8..35c5379 160000
--- a/roms/ipxe
+++ b/roms/ipxe
@@ -1 +1 @@
-Subproject commit 4e03af8ec2d497e725566a91fd5c19dd604c18a6
+Subproject commit 35c5379760aa1fea5e38f7a78b090f92bb7813ee
diff --git a/scripts/texi2pod.pl b/scripts/texi2pod.pl
index 94097fb..8767662 100755
--- a/scripts/texi2pod.pl
+++ b/scripts/texi2pod.pl
@@ -317,7 +317,7 @@ while(<$inf>) {
@columns = ();
for $column (split (/\s*\@tab\s*/, $1)) {
# @strong{...} is used a @headitem work-alike
- $column =~ s/^\@strong{(.*)}$/$1/;
+ $column =~ s/^\@strong\{(.*)\}$/$1/;
push @columns, $column;
}
$_ = "\n=item ".join (" : ", @columns)."\n";
--
2.5.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] scripts/text2pod.pl: Escape left brace
2015-10-09 6:42 [Qemu-devel] [PATCH] scripts/text2pod.pl: Escape left brace Fam Zheng
@ 2015-10-29 7:25 ` Michael Tokarev
2015-10-29 7:36 ` Michael Tokarev
0 siblings, 1 reply; 3+ messages in thread
From: Michael Tokarev @ 2015-10-29 7:25 UTC (permalink / raw)
To: Fam Zheng, qemu-devel; +Cc: qemu-trivial
09.10.2015 09:42, Fam Zheng wrote:
> Latest perl now deprecates "{" literal in regex and print warnings like
> "unescaped left brace in regex is deprecated". Add escapes to keep it
> happy.
Applied to -trivial, thank you!
/mjt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] scripts/text2pod.pl: Escape left brace
2015-10-29 7:25 ` Michael Tokarev
@ 2015-10-29 7:36 ` Michael Tokarev
0 siblings, 0 replies; 3+ messages in thread
From: Michael Tokarev @ 2015-10-29 7:36 UTC (permalink / raw)
To: Fam Zheng, qemu-devel; +Cc: qemu-trivial
29.10.2015 10:25, Michael Tokarev wrote:
> 09.10.2015 09:42, Fam Zheng wrote:
>> Latest perl now deprecates "{" literal in regex and print warnings like
>> "unescaped left brace in regex is deprecated". Add escapes to keep it
>> happy.
>
> Applied to -trivial, thank you!
Noticed your v2 without the roms/ipxe change. For fun, I just
removed that one when applying the v1, thought it was superlows... :)
/mjt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-29 7:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09 6:42 [Qemu-devel] [PATCH] scripts/text2pod.pl: Escape left brace Fam Zheng
2015-10-29 7:25 ` Michael Tokarev
2015-10-29 7:36 ` Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).