summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-03-20 10:47:47 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-03-20 10:47:47 +0000
commit2aacbb0c469cebcdc244c278391f3e74e67cf8d7 (patch)
treec3b9194c34b62096a77973161d0b9e50e8300778 /src/runtime
parent770b1af6d93f4e2d81683f37bcd3287af9993304 (diff)
replace #if with #ifdef when checking for the optional bottom up filtering in the C runtime
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/c/pgf/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c
index a9255606e..304b06ed5 100644
--- a/src/runtime/c/pgf/parser.c
+++ b/src/runtime/c/pgf/parser.c
@@ -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};