[glibmm/gmmproc-refactor] Fix some stupid errors.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/gmmproc-refactor] Fix some stupid errors.
- Date: Fri, 13 Jul 2012 14:31:15 +0000 (UTC)
commit 6da0aaac3459f5bb46316cb4e576f0319e7370e0
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Thu Jul 12 18:14:27 2012 +0200
Fix some stupid errors.
tools/pm/Common/Output/OpaqueRefcounted.pm | 2 +-
tools/pm/Common/Output/Shared.pm | 2 ++
tools/pm/Common/WrapParser.pm | 4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/tools/pm/Common/Output/OpaqueRefcounted.pm b/tools/pm/Common/Output/OpaqueRefcounted.pm
index 8e71d0f..599fa85 100644
--- a/tools/pm/Common/Output/OpaqueRefcounted.pm
+++ b/tools/pm/Common/Output/OpaqueRefcounted.pm
@@ -175,7 +175,7 @@ sub _output_cc ($$$$$)
nl ();
$section_manager->append_string_to_section ($code_string, $section);
$code_string = nl () .
- Common::Output::close_namespaces $wrap_parser;
+ Common::Output::Shared::close_namespaces $wrap_parser;
$section_manager->append_string_to_section ($code_string, $section);
}
diff --git a/tools/pm/Common/Output/Shared.pm b/tools/pm/Common/Output/Shared.pm
index 0b8daad..ba2ac4c 100644
--- a/tools/pm/Common/Output/Shared.pm
+++ b/tools/pm/Common/Output/Shared.pm
@@ -624,6 +624,8 @@ sub convert_or_die
$wrap_parser->fixed_error ($message);
}
+
+ return $conversion;
}
sub convzipstr ($$$$$)
diff --git a/tools/pm/Common/WrapParser.pm b/tools/pm/Common/WrapParser.pm
index 3822758..2bfe78d 100644
--- a/tools/pm/Common/WrapParser.pm
+++ b/tools/pm/Common/WrapParser.pm
@@ -1345,9 +1345,9 @@ sub _on_wrap_gerror ($)
for my $subst (@sed)
{
- if ($subst =~ /^\s*s#([^#]+)#([^#]*)#\s*$/)
+ if ($subst =~ /^\s*s#([^#]*)#([^#]*)#\s*$/)
{
- push @substs, $subst;
+ push (@substs, [$1, $2]);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]