|
From: <kin...@us...> - 2025-09-22 20:54:50
|
Revision: 7469
http://sourceforge.net/p/teem/code/7469
Author: kindlmann
Date: 2025-09-22 20:54:48 +0000 (Mon, 22 Sep 2025)
Log Message:
-----------
less confusion diagnostic message
Modified Paths:
--------------
teem/trunk/src/hest/parsest.c
Modified: teem/trunk/src/hest/parsest.c
===================================================================
--- teem/trunk/src/hest/parsest.c 2025-09-22 20:40:04 UTC (rev 7468)
+++ teem/trunk/src/hest/parsest.c 2025-09-22 20:54:48 UTC (rev 7469)
@@ -529,7 +529,7 @@
const char *srcstr = airEnumStr(hestSource, topHin->source);
// read next arg into tharg
if (histProcNextArg(&nast, tharg, hist, hparm)) {
- biffAddf(HEST, "%s: (arg %u of %s) unable to get next arg", __func__, iters,
+ biffAddf(HEST, "%s: (iter %u, on %s) unable to get next arg", __func__, iters,
srcstr);
return 1;
}
@@ -536,7 +536,7 @@
if (nastEmpty == nast) {
// the stack has no more tokens to give, stop looped requests for mre
if (hparm->verbosity) {
- printf("%s: (arg %u of %s) empty!\n", __func__, iters, srcstr);
+ printf("%s: (iter %u, on %s) empty!\n", __func__, iters, srcstr);
}
break;
}
@@ -551,7 +551,7 @@
continue; // since }- does not belong in havec
} else {
biffAddf(HEST,
- "%s: (arg %u of %s) end comment marker \"}-\" not "
+ "%s: (iter %u, on %s) end comment marker \"}-\" not "
"balanced by prior \"-{\"",
__func__, iters, srcstr);
return 1;
@@ -569,7 +569,7 @@
// if in comment, move along
if (topHin->dashBraceComment) {
if (hparm->verbosity > 1) {
- printf("%s: (arg %u of %s) skipping commented-out |%s|\n", __func__, iters,
+ printf("%s: (iter %u, on %s) skipping commented-out |%s|\n", __func__, iters,
srcstr, tharg->str);
}
continue;
@@ -582,20 +582,20 @@
for parsing results nor error messages about that process */
return 0;
} else {
- biffAddf(HEST, "%s: (arg %u of %s) \"--help\" not expected here", __func__,
+ biffAddf(HEST, "%s: (iter %u, on %s) \"--help\" not expected here", __func__,
iters, srcstr);
return 1;
}
}
if (hparm->verbosity > 1) {
- printf("%s: (arg %u of %s) looking at latest tharg |%s|\n", __func__, iters,
+ printf("%s: (iter %u, on %s) looking at latest tharg |%s|\n", __func__, iters,
srcstr, tharg->str);
}
if (hparm->responseFileEnable && tharg->str[0] == RESPONSE_FILE_FLAG) {
// tharg->str is asking to open a response file; try pushing it
if (histPushResponseFile(hist, tharg->str + 1, hparm)) {
- biffAddf(HEST, "%s: (arg %u of %s) unable to process response file %s", __func__,
- iters, srcstr, tharg->str);
+ biffAddf(HEST, "%s: (iter %u, on %s) unable to process response file %s",
+ __func__, iters, srcstr, tharg->str);
return 1;
}
// have just added response file to stack, next iter will read from it
@@ -604,7 +604,7 @@
// this arg is not specially handled by us; add it to the arg vec
hestArgVecAppendString(havec, tharg->str);
if (hparm->verbosity > 1) {
- printf("%s: (arg %u of %s) added |%s| to havec, now len %u\n", __func__, iters,
+ printf("%s: (iter %u, on %s) added |%s| to havec, now len %u\n", __func__, iters,
srcstr, tharg->str, havec->len);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|