From 2aacbb0c469cebcdc244c278391f3e74e67cf8d7 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 20 Mar 2013 10:47:47 +0000 Subject: [PATCH] replace #if with #ifdef when checking for the optional bottom up filtering in the C runtime --- src/runtime/c/pgf/parser.c | 4 ++-- 1 file 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};