qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] scripts/text2pod.pl: Escape left brace


From: Fam Zheng
Subject: [Qemu-devel] [PATCH] scripts/text2pod.pl: Escape left brace
Date: Fri, 9 Oct 2015 14:42:01 +0800

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 <address@hidden>
---
 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 (/address@hidden/, $1)) {
            # @strong{...} is used a @headitem work-alike
-           $column =~ s/address@hidden(.*)}$/$1/;
+           $column =~ s/address@hidden(.*)\}$/$1/;
            push @columns, $column;
        }
        $_ = "\n=item ".join (" : ", @columns)."\n";
-- 
2.5.3




reply via email to

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