From: Jim Blandy <jimb@redhat.com>
To: cgen@sources.redhat.com
Subject: committed: use eval1 as transformer for .eval pmacros
Date: Mon, 14 Feb 2005 17:49:00 -0000 [thread overview]
Message-ID: <vt2650vnic9.fsf@zenia.home> (raw)
2005-02-03 Jim Blandy <jimb@redhat.com>
* pmacros.scm (pmacros-init!): For .eval macros, use eval1 as the
transformer procedure, not eval. Transformer procedures take one
argument.
Index: cgen/pmacros.scm
===================================================================
RCS file: /cvs/src/src/cgen/pmacros.scm,v
retrieving revision 1.3
diff -c -p -r1.3 pmacros.scm
*** cgen/pmacros.scm 16 Jul 2003 05:35:47 -0000 1.3
--- cgen/pmacros.scm 3 Feb 2005 05:17:22 -0000
***************
*** 560,566 ****
; doesn't work, Hobbit creates "eval" variable
;(-pmacro-set! '.eval (-pmacro-make '.eval '(expr) #f eval "eval"))
! (-pmacro-set! '.eval (-pmacro-make '.eval '(expr) #f (eval1 'eval) "eval"))
)
; Initialize so we're ready to use after loading.
--- 560,566 ----
; doesn't work, Hobbit creates "eval" variable
;(-pmacro-set! '.eval (-pmacro-make '.eval '(expr) #f eval "eval"))
! (-pmacro-set! '.eval (-pmacro-make '.eval '(expr) #f (eval1 'eval1) "eval"))
)
; Initialize so we're ready to use after loading.
reply other threads:[~2005-02-14 17:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vt2650vnic9.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=cgen@sources.redhat.com \
/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).