diff options
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/interp/define.boot | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0c0022a7..04ec7ba9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-05-04 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * interp/define.boot (compDefineCategory2): Tidy. + 2010-05-03 Gabriel Dos Reis <gdr@cs.tamu.edu> * interp/compiler.boot (setqSingle): Tidy. diff --git a/src/interp/define.boot b/src/interp/define.boot index 5a8930ee..f9d2aeeb 100644 --- a/src/interp/define.boot +++ b/src/interp/define.boot @@ -500,8 +500,8 @@ compDefineCategory2(form,signature,specialCases,body,m,e, ['sublisV,['PAIR,['QUOTE,sargl],['LIST,: [['devaluate,u] for u in sargl]]],body] body:= - ["PROG1",["%LET",g:= GENSYM(),body], - ["setShellEntry",g,0,mkConstructor $form]] + ["%Bind",[[g:= GENSYM(),body]], + ["setShellEntry",g,0,mkConstructor $form],g] fun:= compile [op',["LAM",sargl,body]] -- 5. give operator a 'modemap property |