- cleaning debug output
This commit is contained in:
@@ -572,14 +572,14 @@ STATIC int8_t cfile_parser_evaluateLine(uint32_t aNumber, char *aLine, cfile_t *
|
|||||||
if (NULL != (tempMatch = strstr(position, "#include")))
|
if (NULL != (tempMatch = strstr(position, "#include")))
|
||||||
{
|
{
|
||||||
// TODO save include information
|
// 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;
|
position = NULL;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
result = regExWorker(&match, &position, matchStart, matchEnd, &depth, false);
|
result = regExWorker(&match, &position, matchStart, matchEnd, &depth, false);
|
||||||
if (match && 0 == result && 0 == depth)
|
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
|
// Evaluate C expression
|
||||||
(void) cfile_parser_evaluateExpression(match, aCfile);
|
(void) cfile_parser_evaluateExpression(match, aCfile);
|
||||||
xfree((void**) &match);
|
xfree((void**) &match);
|
||||||
|
@@ -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);
|
printf("[ cfu]%d:<%s> (%s) %s [%d] ", work->type, work->prefix, work->dataType, work->name, work->parameter.amount);
|
||||||
while (param)
|
while (param)
|
||||||
{
|
{
|
||||||
printf("%s|%s,", param->type, param->name);
|
printf("(%s)%s,", param->type, param->name);
|
||||||
param = param->next;
|
param = param->next;
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Reference in New Issue
Block a user