This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
committed: use eval1 as transformer for .eval pmacros
- From: Jim Blandy <jimb at redhat dot com>
- To: cgen at sources dot redhat dot com
- Date: 14 Feb 2005 12:48:22 -0500
- Subject: committed: use eval1 as transformer for .eval pmacros
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.