summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/generate-lisp-file.el
diff options
context:
space:
mode:
authorLuke Lee <luke.yx.lee@gmail.com>2023-01-15 12:26:02 +0800
committerLuke Lee <luke.yx.lee@gmail.com>2023-01-15 14:08:13 +0800
commit77ca6aa56e3425c87861cab8abce52bee3697cf4 (patch)
tree421345f3c9deb54845aa62f71f8ad7c22b852340 /lisp/emacs-lisp/generate-lisp-file.el
parentdb836637b0e2050fe4477b4c81a7a2852d8eb960 (diff)
downloademacs-77ca6aa56e3425c87861cab8abce52bee3697cf4.tar.gz
emacs-77ca6aa56e3425c87861cab8abce52bee3697cf4.tar.bz2
emacs-77ca6aa56e3425c87861cab8abce52bee3697cf4.zip
hideif.el: Support C99 and GNU style variadic macros
* lisp/progmodes/hideif.el (hif-end-of-line, hif-cpp-prefix) (hif-ifx-regexp, hif-macro-expr-prefix-regexp, hif-white-regexp) (hif-macroref-regexp, hif-tokenize, hif-find-any-ifX) (hif-find-next-relevant, hif-find-previous-relevant, hif-find-range) (hif-parse-macro-arglist, hif-add-new-defines, hide-ifdef-guts): Variadic macro parsing, comments and multi-line parsing. (hif-line-concat, hif-etc-regexp): New regexp for better macro scans. (hif-expand-token-list, hif-get-argument-list, hif-delimit) (hif-macro-supply-arguments, hif-canonicalize, hif-find-define): Variadic macro argument replacement and expansion. (hif-display-macro): Display variadic macros. (hif-is-in-comment, hif-search-ifX-regexp): New functions to better handle macros in comments and comments in macros.
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions