annotate modules/common/configure-post.ac @ 5272:66dbef5f8076
Be better about bounds-checking, #'subseq, #'fill; add same, #'reduce.
2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
* fns.c (Fsubseq):
Change the string code to better fit in with the rest of this
function (it still uses get_string_range_char(), though, which *may*
diverge algorithmically from what we're doing).
If dealing with a cons, only call #'length if we have reason to
believe that the START and END arguments are badly specified, and
check for circular lists ourselves when that's appropriate.
If dealing with a vector, call Fvector() on the appropriate subset
of the old vector's data directly, don't initialise the result
with nil and then copy.
(Ffill):
Only check the range arguments for a cons SEQUENCE if we have good
reason to think they were badly specified.
(Freduce):
Handle multiple values properly. Add bounds checking to this
function, as specificied by ANSI Common Lisp.
author |
Aidan Kehoe <kehoea@parhasard.net> |
date |
Thu, 16 Sep 2010 18:46:05 +0100 |
parents |
d87493ecc64b |
children |
fe82be65969e |
rev |
line source |
1083
|
1
|
|
2 # This part should appear unchanged in every module configure.ac
|
|
3 AC_SUBST(PROGNAME, "module")
|
|
4 AC_SUBST(MOD_CC, "@ELLCC@")
|
|
5 AC_SUBST(MODARCHDIR, "\$(shell @ELLCC@ --mod-archdir)")
|
|
6 AC_SUBST(MAKE_DOCFILE, "\$(MODARCHDIR)/make-docfile")
|
|
7 AC_SUBST(MODCFLAGS, "\$(CFLAGS) --mode=compile --mod-output=\$@ -I\$(MODARCHDIR)/include")
|
|
8 AC_SUBST(INSTALLPATH, "\$(shell @ELLCC@ --mod-site-location)")
|
|
9 AC_SUBST(MOD_INSTALL_PROGRAM, "@INSTALL_PROGRAM@")
|
|
10 AC_SUBST(OBJECT_TO_BUILD, "\$(MODNAME).ell")
|
|
11
|
|
12 AC_CONFIG_FILES([Makefile.in Makefile])
|
|
13 AC_OUTPUT
|