diff options
| author | Florian Pelz <pelzflorian@pelzflorian.de> | 2025-09-16 03:05:06 +0200 |
|---|---|---|
| committer | Florian Pelz <pelzflorian@pelzflorian.de> | 2025-09-30 10:37:34 +0200 |
| commit | aff572c9ac80748b86fe22996dc0103a55ee829f (patch) | |
| tree | f5da92b2f58112db22ff1e12fef72def9164a96c /gnu/packages/python-check.scm | |
| parent | e16cfd61f96155ba5d42df4af92c09a39abb3ee4 (diff) | |
po: Add procedures to handle '\"', '\t' and '\\' escape sequences.
They were handled with PEG before.
Now `make download-po` has the same result as before PO files were
minified.
* guix/build/po.scm (interpret-newline-escape): Replace with ...
(interpret-escape): ... this more general procedure.
(replace-escaped-backslashes): New procedure, basically restored from
the past implementation of 'interpret-newline-escape' but
for '\\' escapes.
(interpret-escape-sequences): New procedure to call them all.
(parse-tree->assoc): Use it.
Change-Id: I03226281019fa39ef7bca524278dbc434df95f2e
Diffstat (limited to 'gnu/packages/python-check.scm')
0 files changed, 0 insertions, 0 deletions
