[perl-Glib] Avoid a syntax error on older perls
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib] Avoid a syntax error on older perls
- Date: Sat, 7 Jan 2012 14:09:02 +0000 (UTC)
commit 5d6cef4048a8bb6c6329ae9b6f8c9e27c0006614
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date: Sat Jan 7 15:07:08 2012 +0100
Avoid a syntax error on older perls
At least perl 5.8.0 chockes on the fancy quotes we used in a warning message in
Glib::GenPod. Fix by using normal single quotes.
lib/Glib/GenPod.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Glib/GenPod.pm b/lib/Glib/GenPod.pm
index f5f8110..ed887d5 100644
--- a/lib/Glib/GenPod.pm
+++ b/lib/Glib/GenPod.pm
@@ -1216,7 +1216,7 @@ sub convert_type {
\s*$/x; # trailing space
my $ctype = $1 || '!!';
if ($ctype eq '!!') {
- warn "Glib::GenPod: Unable to parse type `$typestrÂ";
+ warn "Glib::GenPod: Unable to parse type '$typestr'";
}
# variant type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]