]> git.eshelyaron.com Git - emacs.git/commit
Enhance syntax-tests.el to test nestable comments (Lisp style)
authorAlan Mackenzie <acm@muc.de>
Tue, 17 Nov 2020 16:51:49 +0000 (16:51 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 17 Nov 2020 16:51:49 +0000 (16:51 +0000)
commitab9a23e029ce1507d9e863e086db8796d727d1a4
treeedbd15ea67d40d6f96e1607593c75c9f9acf2f84
parent030ad21afecdd718ce741cff9666c1913a8211df
Enhance syntax-tests.el to test nestable comments (Lisp style)

Also add some tests for braces and parse-partial-sexp amongst Lisp style
comments.

* test/src/syntax-tests.el (\;-in, \;-out): Add syntax for { and }.
(top-level): Add new tests for Lisp style comments.
(\#|-in, \#|-out): New functions.
(top-level): Add new tests for nested Lisp style comments, and mixtures of
nested comments with "ordinary" comments.

* test/src/syntax-resources/syntax-comments.txt (top-level): Add new test
fragments for #|...|#, etc.
test/src/syntax-resources/syntax-comments.txt
test/src/syntax-tests.el