Use more general #if
This commit is contained in:
parent
f608e09be3
commit
af481d2b42
@ -167,8 +167,8 @@ position in the CONTENT."
|
|||||||
|
|
||||||
(defun origami-c-macro-parser (create)
|
(defun origami-c-macro-parser (create)
|
||||||
(lambda (content)
|
(lambda (content)
|
||||||
(let ((positions (origami-get-positions content "#ifdef\\|#endif")))
|
(let ((positions (origami-get-positions content "#if\\|#endif")))
|
||||||
(origami-build-pair-tree create "#ifdef" "#endif" positions))))
|
(origami-build-pair-tree create "#if" "#endif" positions))))
|
||||||
|
|
||||||
(defun origami-c-parser (create)
|
(defun origami-c-parser (create)
|
||||||
(let ((c-style (origami-c-style-parser create))
|
(let ((c-style (origami-c-style-parser create))
|
||||||
|
Loading…
Reference in New Issue
Block a user