aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-03-12 13:50:31 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-03-12 14:02:35 -0700
commit255aadda192c99abdaecb0caebf59a9b5272fcac (patch)
tree50cd0bcf460bf7d50f2cf2cd1898f6ed8815964e /doc
parenta72ecfcf529624df02890b73368ea3e2826d1d0d (diff)
downloadconsfigurator-255aadda192c99abdaecb0caebf59a9b5272fcac.tar.gz
new reader macro #>>EOF>>
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'doc')
-rw-r--r--doc/news.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/news.rst b/doc/news.rst
index 58ca80a..bc45564 100644
--- a/doc/news.rst
+++ b/doc/news.rst
@@ -26,6 +26,15 @@ you should review this document and see if your consfig needs updating.
1.2.4 (unreleased)
------------------
+- New reader macro ``#>>EOF>>`` which is like ``#>EOF>`` except that it skips
+ over the remainder of the current line and its newline. This is more like
+ how heredocs work in other languages. For the sake of future extension, the
+ remainder of the line after the ``#>>EOF>>`` should not contain anything
+ other than a single-line comment.
+
+ (This is not a breaking change because the existing implementation for
+ ``#>EOF>`` does not permit using terminators beginning with ``>``.)
+
- New tutorial, "Defining new properties".
- Extract docstrings and use them to generate API references in the manual.