diff src/data.c @ 5510:6b3caa55668c

Remove the LOSING_BYTECODE compile-time option, it's been off since 1997. 2011-05-20 Aidan Kehoe <kehoea@parhasard.net> * config.h.in: * data.c (Faref): * fns.c (check_losing_bytecode): * fns.c (concat): * fns.c (Felt): Remove the LOSING_BYTECODE compile-time option entirely. It allowed access to the elements of a compiled function using #'aref, and has been turned off since 1997.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 20 May 2011 12:16:42 +0100
parents 4dee0387b9de
children 56144c8593a8
line wrap: on
line diff
--- a/src/data.c	Wed May 18 14:21:52 2011 +0100
+++ b/src/data.c	Fri May 20 12:16:42 2011 +0100
@@ -753,13 +753,6 @@
       if (idx >= string_char_length (array)) goto range_error;
       return make_char (string_ichar (array, idx));
     }
-#ifdef LOSING_BYTECODE
-  else if (COMPILED_FUNCTIONP (array))
-    {
-      /* Weird, gross compatibility kludge */
-      return Felt (array, index_);
-    }
-#endif
   else
     {
       check_losing_bytecode ("aref", array);