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-05-22 01:07:52 +02:00
2022-11-11 23:17:42 +01:00
2021-09-28 22:00:47 +02:00
2022-11-11 23:17:42 +01:00
2022-12-04 00:50:28 -05:00
2022-06-15 10:18:34 +02:00
2021-04-12 18:42:22 +02:00
2021-12-23 10:54:00 +01:00
2022-09-29 22:59:48 +02:00
2023-02-19 21:13:23 -05:00