mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-17 14:16:09 -06:00
replace #if with #ifdef when checking for the optional bottom up filtering in the C runtime
This commit is contained in:
1 parent
770b1af6d9
commit
2aacbb0c46
1 file changed
+2
-2
@@ -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};
|
||||
|
||||
Reference in new issue
Block a user