]> git.eshelyaron.com Git - emacs.git/commit
Enhance syntax-tests.el to test comments in scan-lists
authorAlan Mackenzie <acm@muc.de>
Fri, 2 Oct 2020 17:25:02 +0000 (17:25 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 2 Oct 2020 17:25:02 +0000 (17:25 +0000)
commit6a6466031839d5fb4efadbfe2cdbd5ba469dd9c6
treed1a0593271b24616450e75dcac17a742ebc5d3f5
parent70f8d9a8683a27ac00a2e74c15c0b5b5c6f9bbe2
Enhance syntax-tests.el to test comments in scan-lists

This now tests the interface between scan_lists and the comment functions.

* test/src/syntax-tests.el (syntax-br-comments): New macro.
({-in, ;-in, /*-in): Set parse-sexp-ignore-comments to t.
(top level): Add 15 tests for comments inside brace lists.

* test/data/syntax-comments.txt (top level): Amend some test fragments.
test/data/syntax-comments.txt
test/src/syntax-tests.el