From: Holger Peters <holger.peters@posteo.de>
To: guile-devel@gnu.org
Cc: Holger Peters <holger.peters@posteo.de>
Subject: [PATCH 0/1] Preserve source properties in unparse-tree-il
Date: Fri, 30 Oct 2020 17:00:47 +0100 [thread overview]
Message-ID: <cover.1604073054.git.holger.peters@posteo.de> (raw)
I realized that parse-tree-il uses source-properties to fill the
location slots in the tree-il AST elements, while unparse-tree-il
doesn't set source-properties on the resulting list values.
This patch preserves the source-properties in the unparse-tree-il
transformation so it should now be possible to translate back and
forth.
Holger Peters (1):
Preserve source properties in unparse-tree-il
module/language/tree-il.scm | 75 +++++++++++++++++++++----------------
1 file changed, 42 insertions(+), 33 deletions(-)
--
2.28.0
next reply other threads:[~2020-10-30 16:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-30 16:00 Holger Peters [this message]
2020-10-30 16:00 ` [PATCH 1/1] Preserve source properties in unparse-tree-il Holger Peters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1604073054.git.holger.peters@posteo.de \
--to=holger.peters@posteo.de \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).