diff options
author | Andy Wingo <wingo@pobox.com> | 2021-02-24 16:01:02 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2021-02-24 16:01:02 +0100 |
commit | e054504fd4c29b996d0ec8dbc63a57018a7d76a3 (patch) | |
tree | f2f0285d5d319f1ff1449858951b3e7ad647cbca /.x-sc_error_message_period | |
parent | 1711608f150b5189fa85ab75e6314d70ed33a2b5 (diff) | |
download | guile-e054504fd4c29b996d0ec8dbc63a57018a7d76a3.tar.gz |
Remove top-marked? optimization from psyntax
* module/ice-9/psyntax.scm (strip): It used to be that terms in the
source program could have a "top" mark, and when stripping marks we'd
stop recursing when we see an expression with the top mark. This had
the good effect that source programs could contain quoted syntax
objects, or quoted objects with shared structure -- in theory anyway.
In practice the compiler didn't support objects with shared structure.
Anyway when we switch to "read-syntax", quoted expressions can contain
syntax objects introduced by the reader, which naturally we would want
to strip away in a (quote FOO) form. Therefore we remove the
top-marked? optimization.
Diffstat (limited to '.x-sc_error_message_period')
0 files changed, 0 insertions, 0 deletions