aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-08-02 15:29:55 +0200
committerLudovic Courtès <ludo@gnu.org>2022-08-08 11:22:32 +0200
commit077324a16fd6c7d2307bfa52a9863ca25cfc6a52 (patch)
tree507f6aeeaa99a99c0e5e68d6e307766897d05230 /scripts/guix.in
parentf687e27e0385c7f9bab8d967293061158fc3f504 (diff)
downloadguix-077324a16fd6c7d2307bfa52a9863ca25cfc6a52.tar.gz
guix-077324a16fd6c7d2307bfa52a9863ca25cfc6a52.zip
read-print: Recognize page breaks.
* guix/read-print.scm (<page-break>, page-break?, page-break) (char-set:whitespace-sans-page-break): New variables. (space?): New procedure. (read-vertical-space): Use it. (read-until-end-of-line): New procedure. (read-with-comments): Add #\page case. (pretty-print-with-comments): Add 'page-break?' case. * tests/read-print.scm ("read-with-comments: top-level page break"): New test. Add round-trip test with page break within an sexp.
Diffstat (limited to 'scripts/guix.in')
0 files changed, 0 insertions, 0 deletions