Branch: Tag:

2001-12-16

2001-12-16 22:48:09 by Martin Stjernholm <mast@lysator.liu.se>

Added magic ::_indices and ::_values.

Rev: src/docode.c:1.138
Rev: src/interpret_functions.h:1.99
Rev: src/language.yacc:1.268
Rev: src/las.c:1.278
Rev: src/object.c:1.190
Rev: src/object.h:1.67
Rev: src/program.c:1.394

1:   /* -  * $Id: interpret_functions.h,v 1.98 2001/12/16 02:49:39 mast Exp $ +  * $Id: interpret_functions.h,v 1.99 2001/12/16 22:48:08 mast Exp $    *    * Opcode definitions for the interpreter.    */
1616:    push_magic_index(magic_set_index_program, arg2, arg1);   });    + OPCODE2(F_MAGIC_INDICES, "::_indices", { +  push_magic_index(magic_indices_program, arg2, arg1); + }); +  + OPCODE2(F_MAGIC_VALUES, "::_values", { +  push_magic_index(magic_values_program, arg2, arg1); + }); +    OPCODE0(F_CAST, "cast", {    f_cast();   });