- cleaning debug output

This commit is contained in:
2017-03-11 12:42:05 +00:00
parent 4a4abfa46f
commit 0e0addd8d2
2 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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");