public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* committed: use eval1 as transformer for .eval pmacros
@ 2005-02-14 17:49 Jim Blandy
  0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2005-02-14 17:49 UTC (permalink / raw)
  To: cgen


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-14 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-14 17:49 committed: use eval1 as transformer for .eval pmacros Jim Blandy

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).