[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[COMMITTED] pkl-rt: fix handling of styling classes in _pkl_print_format
From: |
Jose E. Marchesi |
Subject: |
[COMMITTED] pkl-rt: fix handling of styling classes in _pkl_print_format_any |
Date: |
Sat, 28 Jan 2023 18:59:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
2023-01-28 Jose E. Marchesi <jemarch@gnu.org>
* libpoke/pkl-rt.pk (_pkl_print_format_any): Make sure to end
styling classes before returning.
---
ChangeLog | 5 +++++
libpoke/pkl-rt.pk | 1 +
2 files changed, 6 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 7f65f93e..4058d84d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-28 Jose E. Marchesi <jemarch@gnu.org>
+
+ * libpoke/pkl-rt.pk (_pkl_print_format_any): Make sure to end
+ styling classes before returning.
+
2023-01-28 Jose E. Marchesi <jemarch@gnu.org>
* configure.ac: Use tar-ustar option in Automake.
diff --git a/libpoke/pkl-rt.pk b/libpoke/pkl-rt.pk
index 8f0a6f47..3224b43d 100644
--- a/libpoke/pkl-rt.pk
+++ b/libpoke/pkl-rt.pk
@@ -1250,6 +1250,7 @@ immutable fun _pkl_print_format_any = (any val,
if (odepth != 0 && depth >= odepth)
{
ctx.emit (" {...}");
+ ctx.end_class ("struct");
return;
}
--
2.30.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [COMMITTED] pkl-rt: fix handling of styling classes in _pkl_print_format_any,
Jose E. Marchesi <=