Ludovic Courtès 0a37921d85
read-print: Correctly handle comments that follow a list head.
Fixes <https://issues.guix.gnu.org/61013>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* guix/read-print.scm (pretty-print-with-comments)[starts-with-line-comment?]:
New procedure.
Use it when printing a list.
* tests/read-print.scm: Add two tests.
2023-03-07 11:39:50 +01:00
..
2022-08-09 15:58:14 +02:00
2022-11-11 23:17:42 +01:00
2022-03-18 16:03:33 +01:00
2022-06-10 23:52:34 -04:00
2022-12-02 23:20:54 +01:00
2022-07-10 23:57:14 +02:00
2022-09-24 17:59:04 +02:00
2023-02-19 10:09:15 +01:00
2022-02-14 11:23:07 +01:00
2023-01-03 12:25:48 +01:00
2023-02-11 00:09:40 +01:00