From 0e0addd8d2b7e855c7d01e171743275696344c22 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Sat, 11 Mar 2017 12:42:05 +0000 Subject: [PATCH] - cleaning debug output --- src/stubser/cfile_parser.c | 4 ++-- src/stubser/cfunction.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stubser/cfile_parser.c b/src/stubser/cfile_parser.c index 61a01f3..fef509d 100644 --- a/src/stubser/cfile_parser.c +++ b/src/stubser/cfile_parser.c @@ -572,14 +572,14 @@ STATIC int8_t cfile_parser_evaluateLine(uint32_t aNumber, char *aLine, cfile_t * if (NULL != (tempMatch = strstr(position, "#include"))) { // TODO save include information - DEBUG_LOG_APPEND(1, "[ Re %04u] Works %zu %s\n", aNumber, strlen(tempMatch), tempMatch); + DEBUG_LOG_APPEND(1, "[ Re %04u][%zu] %s\n", aNumber, strlen(tempMatch), tempMatch); position = NULL; continue; } result = regExWorker(&match, &position, matchStart, matchEnd, &depth, false); if (match && 0 == result && 0 == depth) { - DEBUG_LOG_APPEND(1, "[ Re %04u] Works %zu %s\n", aNumber, strlen(match), match); + DEBUG_LOG_APPEND(1, "[ Re %04u][%zu] %s\n", aNumber, strlen(match), match); // Evaluate C expression (void) cfile_parser_evaluateExpression(match, aCfile); xfree((void**) &match); diff --git a/src/stubser/cfunction.c b/src/stubser/cfunction.c index f1a2d5d..4b1ac67 100644 --- a/src/stubser/cfunction.c +++ b/src/stubser/cfunction.c @@ -162,7 +162,7 @@ void cfunction_printList(cfunction_list_t *aList) printf("[ cfu]%d:<%s> (%s) %s [%d] ", work->type, work->prefix, work->dataType, work->name, work->parameter.amount); while (param) { - printf("%s|%s,", param->type, param->name); + printf("(%s)%s,", param->type, param->name); param = param->next; } printf("\n");