aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-06-12 08:17:27 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-06-12 08:17:27 +0000
commitdbf1d8a0a60da256b323a8dd189c3c6551f82f3f (patch)
treefbc7bece66fa10c4274e05e74f2cb45824e40741
parentcc9f512e27f45fe95aeb7da8365f9dd38acf35d1 (diff)
changed verbose message to refer to the originating object
svn path=/trunk/externals/zexy/; revision=9982
-rw-r--r--src/matchbox.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/matchbox.c b/src/matchbox.c
index 0ca5dcd..22e5668 100644
--- a/src/matchbox.c
+++ b/src/matchbox.c
@@ -194,7 +194,7 @@ static int OSC_PatternMatch (const char * pattern, const char * test, const cha
}
case ']' :
case '}' :
- z_verbose(1, "Spurious %c in pattern \".../%s/...\"",pattern[0], theWholePattern);
+ z_verbose(1, "[matchbox]: spurious %c in OSC-pattern \".../%s/...\"",pattern[0], theWholePattern);
return FALSE;
case '[' :
return OSC_MatchBrackets (pattern,test, theWholePattern);
@@ -225,7 +225,7 @@ static int OSC_MatchBrackets (const char *pattern, const char *test, const char*
const char *p = pattern;
if (pattern[1] == 0) {
- z_verbose(1, "Unterminated [ in pattern \".../%s/...\"", theWholePattern);
+ z_verbose(1, "[matchbox]: unterminated [ in OSC-pattern \".../%s/...\"", theWholePattern);
return FALSE;
}
@@ -236,7 +236,7 @@ static int OSC_MatchBrackets (const char *pattern, const char *test, const char*
while (*p != ']') {
if (*p == 0) {
- z_verbose(1, "Unterminated [ in pattern \".../%s/...\"", theWholePattern);
+ z_verbose(1, "[matchbox]: unterminated [ in OSC-pattern \".../%s/...\"", theWholePattern);
return FALSE;
}
if (p[1] == '-' && p[2] != 0) {
@@ -261,7 +261,7 @@ static int OSC_MatchBrackets (const char *pattern, const char *test, const char*
while (*p != ']') {
if (*p == 0) {
- z_verbose(1, "Unterminated [ in pattern \".../%s/...\"", theWholePattern);
+ z_verbose(1, "[matchbox]: unterminated [ in OSC-pattern \".../%s/...\"", theWholePattern);
return FALSE;
}
p++;
@@ -276,7 +276,7 @@ static int OSC_MatchList (const char *pattern, const char *test, const char* the
for(restOfPattern = pattern; *restOfPattern != '}'; restOfPattern++) {
if (*restOfPattern == 0) {
- z_verbose(1, "Unterminated { in pattern \".../%s/...\"", theWholePattern);
+ z_verbose(1, "[matchbox]: unterminated { in OSC-pattern \".../%s/...\"", theWholePattern);
return FALSE;
}
}
@@ -551,7 +551,7 @@ static void matchbox_add(t_matchbox*x, t_symbol*s, int argc, t_atom*argv) {
/* 1st match, whether we already have this entry */
if(matchlistlist(0, x->x_lists, argc, argv, MATCHBOX_EXACT, FALSE)) {
/* already there, skip the rest */
- z_verbose(1, "this list is already in the buffer!, skipping...");
+ z_verbose(1, "[matchbox]: refusing to add already existing list to buffer...");
return;
}