summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/tq.el
diff options
context:
space:
mode:
authorLuke Lee <luke.yx.lee@gmail.com>2014-06-26 13:47:33 +0800
committerLuke Lee <luke.yx.lee@gmail.com>2014-06-26 13:47:33 +0800
commitc269730462ab74967ed2cde73da7c74545a2118c (patch)
tree71419ec5710af4f6eb176824a42e29291fb280e4 /lisp/emacs-lisp/tq.el
parentcb6ce5eee811b547506cf37bb9da78ff908a82ff (diff)
downloademacs-c269730462ab74967ed2cde73da7c74545a2118c.tar.gz
emacs-c269730462ab74967ed2cde73da7c74545a2118c.tar.bz2
emacs-c269730462ab74967ed2cde73da7c74545a2118c.zip
HideIfDef mode bug fixes and enhancements. This is #2 of 3 patches based
on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef. - Supporting argumented macro expansion. - Stringification, tokenization and concatenation of strings and tokens. - Add functions to find defines and parse argumented macros into a macro tree containing macro name, formal parameters and macro body. - On macro evaluation, macros will be applied with actual parameters and then got expanded recursively. - Merge main trunk changes * lisp/progmodes/hideif.el (hif-string-to-number): Merge changes from main trunk. (hif-simple-token-only, hif-tokenize): Commentted in detail mainly for performance enhancements. (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhanced for macro expansion. (hif-factor, hif-string-concatenation, intern-safe): Support string concatenation and argumented macro expansion. (hif-if-valid-identifier-p, hif-define-operator, hif-flatten) (hif-expand-token-list, hif-get-argument-list, hif-define-macro) (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize) (hif-canonicalize-tokens, hif-looking-at-elif, hif-place-macro-invocation) (hif-parse-macro-arglist): Mostly new functions for supporting argumented macro expansion. (hif-string-concatenation, hif-stringify, hif-token-concat) (hif-token-stringification, hif-token-concatenation): Stringify and concatentation. (hif-find-next-relevant): Fix comments (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for some cases involving #elif. (hif-find-define, hif-add-new-defines): New functions for automatically scanning of defined symbols. (hide-ifdef-guts): Fix for auto defined symbol scanning. (hide-ifdef-undef): Fix behavior to match CPP.
Diffstat (limited to 'lisp/emacs-lisp/tq.el')
0 files changed, 0 insertions, 0 deletions