From af481d2b423957c58fa635ccb4c7ef52b906cbb4 Mon Sep 17 00:00:00 2001 From: Greg Sexton Date: Sun, 3 Jul 2016 16:28:33 +0100 Subject: [PATCH] Use more general #if --- origami-parsers.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/origami-parsers.el b/origami-parsers.el index 812bf59..072769a 100644 --- a/origami-parsers.el +++ b/origami-parsers.el @@ -167,8 +167,8 @@ position in the CONTENT." (defun origami-c-macro-parser (create) (lambda (content) - (let ((positions (origami-get-positions content "#ifdef\\|#endif"))) - (origami-build-pair-tree create "#ifdef" "#endif" positions)))) + (let ((positions (origami-get-positions content "#if\\|#endif"))) + (origami-build-pair-tree create "#if" "#endif" positions)))) (defun origami-c-parser (create) (let ((c-style (origami-c-style-parser create))