unquoting fix.
This commit is contained in:
parent
005f146b68
commit
be2326f351
8
mes.c
8
mes.c
|
@ -214,16 +214,20 @@ quasiquote (scm *x)
|
||||||
}
|
}
|
||||||
|
|
||||||
scm *
|
scm *
|
||||||
unquote (scm *x)
|
unquote (scm *x) //int must not add to environment
|
||||||
{
|
{
|
||||||
return cons (&scm_symbol_unquote, x);
|
return cons (&scm_symbol_unquote, x);
|
||||||
}
|
}
|
||||||
|
scm *unquote (scm *x);
|
||||||
|
scm scm_unquote = {FUNCTION1, .name="unquote", .function1=&unquote};
|
||||||
|
|
||||||
scm *
|
scm *
|
||||||
unquote_splicing (scm *x)
|
unquote_splicing (scm *x) //int must not add to environment
|
||||||
{
|
{
|
||||||
return cons (&scm_symbol_unquote_splicing, x);
|
return cons (&scm_symbol_unquote_splicing, x);
|
||||||
}
|
}
|
||||||
|
scm *unquote_splicing (scm *x);
|
||||||
|
scm scm_unquote_splicing = {FUNCTION1, .name="unquote-splicing", .function1=&unquote_splicing};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//Library functions
|
//Library functions
|
||||||
|
|
Loading…
Reference in a new issue