Function: c-syntactic-information-on-region
c-syntactic-information-on-region is an interactive and byte-compiled
function defined in cc-cmds.el.gz.
Signature
(c-syntactic-information-on-region FROM TO)
Documentation
Insert a comment with the syntactic analysis on every line in the region.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-cmds.el.gz
(defun c-syntactic-information-on-region (from to)
"Insert a comment with the syntactic analysis on every line in the region."
(interactive "*r")
(save-excursion
(save-restriction
(narrow-to-region from to)
(goto-char (point-min))
(while (not (eobp))
(c-show-syntactic-information '(0))
(forward-line)))))