From d3861cea9f305fe6a514b66986e7e8f098651410 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 18 Nov 2012 15:30:24 +0100 Subject: [PATCH] Make pragmas pass through the preprocessor so the user can write them manually --- ftepp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ftepp.c b/ftepp.c index f0c34e4..295139e 100644 --- a/ftepp.c +++ b/ftepp.c @@ -977,6 +977,10 @@ static bool ftepp_hash(ftepp_t *ftepp) ftepp_update_output_condition(ftepp); break; } + else if (!strcmp(ftepp_tokval(ftepp), "pragma")) { + ftepp_out(ftepp, "#", false); + break; + } else { ftepp_error(ftepp, "unrecognized preprocessor directive: `%s`", ftepp_tokval(ftepp)); return false;