diff options
author | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2014-12-01 10:20:19 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2014-12-01 10:20:19 +0100 |
commit | e241f1593580314ea7215769eea2a0dc0b83feea (patch) | |
tree | 2a97e1ec890be2415edd55498f77ae0703a6b2fd /tools/gmmproc.in | |
parent | e7dea6d41dffe9f9f77c3e1a9a68ce66a4555d8f (diff) | |
download | glibmm-e241f1593580314ea7215769eea2a0dc0b83feea.tar.gz |
gmmproc: Change messages that MS Visual Studio can misunderstand
* tools/gmmproc.in:
* tools/pm/DocsParser.pm:
* tools/pm/Output.pm: Change messages that MS Visual Studio can misunderstand.
https://mail.gnome.org/archives/gtkmm-list/2014-November/msg00044.html
Diffstat (limited to 'tools/gmmproc.in')
-rw-r--r-- | tools/gmmproc.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/gmmproc.in b/tools/gmmproc.in index 8b576539..e9295031 100644 --- a/tools/gmmproc.in +++ b/tools/gmmproc.in @@ -123,22 +123,27 @@ if ($main::unwrapped) # Don't take non-readable construct-only properties into account. my @properties = grep { $$_{entity_type} eq 'property' and ( $$_{readable} or not $$_{construct_only} ) } @unwrapped; + # Don't print a name of any kind between the first and second colon on a line, + # if there is any chance that "error" is (part of) the name. + # MS Visual Studio will misunderstand. + # See https://mail.gnome.org/archives/gtkmm-list/2014-November/msg00044.html + local $, = "\ngmmproc: "; local $\ = "\n"; if (@methods) { - print STDERR ("gmmproc: $main::source: Unwrapped functions:", + print STDERR ("gmmproc, $main::source: Unwrapped functions:", map($$_{c_name}, @methods)); } if (@properties) { - print STDERR ("gmmproc: $main::source: Unwrapped properties:", + print STDERR ("gmmproc, $main::source: Unwrapped properties:", map($$_{class} . '::' . $$_{name}, @properties)); } if (@signals) { - print STDERR ("gmmproc: $main::source: Unwrapped signals:", + print STDERR ("gmmproc, $main::source: Unwrapped signals:", map($$_{class} . '::' . $$_{name}, @signals)); } } |