]> git.eshelyaron.com Git - emacs.git/commit
Add function to scan for and mark nested comments with `commet-depth'.
authorAlan Mackenzie <acm@muc.de>
Thu, 10 Mar 2016 15:46:21 +0000 (15:46 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 10 Mar 2016 15:46:21 +0000 (15:46 +0000)
commit74c932feaeff406481b99cb7d5a6a391745b088f
treeea7b57331785f7575ec843558db28163f4ff82b6
parentb80bcc62310f68b9ea712d645f0f14671ff53023
Add function to scan for and mark nested comments with `commet-depth'.

This is needed because parse-partial-sexp doesn't stop at the starters or
enders of nested comments.

* src/syntax.c (scan_nested_comments_forward): New function.
(scan_comments_forward_to): Add a call to scan_nested_comments_forward.
src/syntax.c