summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pre.l b/src/pre.l
index fe06b6c..af0bb44 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -2392,7 +2392,7 @@ static bool expandExpression(yyscan_t yyscanner,QCString &expr,QCString *rest,in
if (expr.isEmpty())
{
//printf("<expandExpression: empty\n");
- return FALSE;
+ return TRUE;
}
if (state->expansionDict.find(expr)!=0) // check for recursive expansions
{
@@ -3321,10 +3321,11 @@ void Preprocessor::processFile(const char *fileName,BufStr &input,BufStr &output
def->fileDef = state->yyFileDef;
def->fileName = fileName;
state->defineManager.addDefine(state->yyFileName,def);
+
+ //printf("#define '%s' '%s' #nargs=%d\n",
+ // def->name.data(),def->definition.data(),def->nargs);
}
- //printf("#define '%s' '%s' #nargs=%d\n",
- // def->name.data(),def->definition.data(),def->nargs);
}
else if ((i_obrace==-1 || i_obrace>i_equals) &&
(i_cbrace==-1 || i_cbrace>i_equals) &&