1
0
forked from GitHub/gf-core

replace #if with #ifdef when checking for the optional bottom up filtering in the C runtime

This commit is contained in:
kr.angelov
2013-03-20 10:47:47 +00:00
parent 770b1af6d9
commit 2aacbb0c46

View File

@@ -940,7 +940,7 @@ pgf_parsing_complete(PgfParseState* before, PgfParseState* after,
}
}
#if PGF_LEFTCORNER_FILTER
#ifdef PGF_LEFTCORNER_FILTER
typedef struct {
GuMapItor fn;
PgfConcr* concr;
@@ -970,7 +970,7 @@ static bool
pgf_parsing_bu_filter(PgfParseState* before, PgfParseState* after,
PgfCCat* ccat, size_t lin_idx)
{
#if PGF_LEFTCORNER_FILTER
#ifdef PGF_LEFTCORNER_FILTER
while (ccat->conts != NULL) // back to the original PgfCCat
ccat = ccat->conts->ccat;
PgfCFCat cfc = {ccat, lin_idx};