|
From: <kin...@us...> - 2025-09-30 16:37:17
|
Revision: 7543
http://sourceforge.net/p/teem/code/7543
Author: kindlmann
Date: 2025-09-30 16:37:14 +0000 (Tue, 30 Sep 2025)
Log Message:
-----------
adding (kind N) to error messages
Modified Paths:
--------------
teem/trunk/src/hest/parsest.c
Modified: teem/trunk/src/hest/parsest.c
===================================================================
--- teem/trunk/src/hest/parsest.c 2025-09-30 16:36:38 UTC (rev 7542)
+++ teem/trunk/src/hest/parsest.c 2025-09-30 16:37:14 UTC (rev 7543)
@@ -1327,13 +1327,14 @@
strsrc = hopt[opi].havec->harg[0]->str;
invert = AIR_FALSE;
} else {
- biffAddf(HEST, "%s%sconfused by %s[%u] source %s and havec->len %u", _ME_, ident,
- opi, airEnumStr(hestSource, hopt[opi].source), hopt[opi].havec->len);
+ biffAddf(HEST, "%s%sconfused by (kind 4) %s[%u] source %s and havec->len %u",
+ _ME_, ident, opi, airEnumStr(hestSource, hopt[opi].source),
+ hopt[opi].havec->len);
return 1;
}
if (_hestParseSingle[type](valueP, strsrc, hpp)) {
- biffAddf(HEST, "%s%sfor %s[%u] could not parse |%s| as single %s", _ME_, ident,
- opi, strsrc, _hestTypeStr[type]);
+ biffAddf(HEST, "%s%sfor (kind 4) %s[%u] could not parse |%s| as single %s", _ME_,
+ ident, opi, strsrc, _hestTypeStr[type]);
return 1;
}
if (invert) {
@@ -1345,7 +1346,8 @@
break;
case 2: // -------- one required parameter --------
if (_hestParseSingle[type](valueP, hopt[opi].havec->harg[0]->str, hpp)) {
- biffAddf(HEST, "%s%sproblem parsing for %s[%u]: %s", _ME_, ident, opi, hpp->err);
+ biffAddf(HEST, "%s%sproblem parsing for (kind 2) %s[%u]: %s", _ME_, ident, opi,
+ hpp->err);
return 1;
}
break;
@@ -1355,8 +1357,8 @@
for (uint argi = 0; argi < hopt[opi].havec->len; argi++) {
if (_hestParseSingle[type](cvalueP + size * argi,
hopt[opi].havec->harg[argi]->str, hpp)) {
- biffAddf(HEST, "%s%sproblem parsing arg %u (of %u) for %s[%u]: %s", _ME_, argi,
- hopt[opi].havec->len, ident, opi, hpp->err);
+ biffAddf(HEST, "%s%sproblem parsing arg %u (of %u) for (kind 3) %s[%u]: %s",
+ _ME_, argi, hopt[opi].havec->len, ident, opi, hpp->err);
return 1;
}
}
@@ -1384,8 +1386,8 @@
for (uint argi = 0; argi < hopt[opi].havec->len; argi++) {
if (_hestParseSingle[type](cvalueP + size * argi,
hopt[opi].havec->harg[argi]->str, hpp)) {
- biffAddf(HEST, "%s%sproblem parsing arg %u (of %u) for %s[%u]: %s", _ME_, argi,
- hopt[opi].havec->len, ident, opi, hpp->err);
+ biffAddf(HEST, "%s%sproblem parsing arg %u (of %u) for (kind 5) %s[%u]: %s",
+ _ME_, argi, hopt[opi].havec->len, ident, opi, hpp->err);
return 1;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|