This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]