aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/preprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/preprocess.c')
-rw-r--r--src/preprocess.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/preprocess.c b/src/preprocess.c
index d3c662b..9605f69 100644
--- a/src/preprocess.c
+++ b/src/preprocess.c
@@ -825,10 +825,7 @@ static bool preprocess_elif_groups_opt(Preprocessor* pp, bool did_include) {
Token* tok = peek_pp_token(pp);
if (tok->kind == TokenKind_pp_directive_elif || tok->kind == TokenKind_pp_directive_elifdef ||
tok->kind == TokenKind_pp_directive_elifndef) {
- // TODO: | and |= is not supported
- // did_include |= preprocess_elif_group(pp, pp->pos, did_include);
- bool a = preprocess_elif_group(pp, did_include);
- did_include = did_include ? true : a;
+ did_include |= preprocess_elif_group(pp, did_include);
} else {
break;
}