Branch: Tag:

1999-12-13

1999-12-13 01:21:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added new class of options: runtime_options.
Moved -dT to -rT.
Implemented -rt to enable runtime checking of types.

Rev: src/docode.c:1.60
Rev: src/interpreter.h:1.24
Rev: src/language.yacc:1.143
Rev: src/main.c:1.79
Rev: src/main.h:1.12

5:   \*/      /* -  * $Id: main.h,v 1.11 1999/12/05 15:31:28 grubba Exp $ +  * $Id: main.h,v 1.12 1999/12/13 01:21:11 grubba Exp $    */   #ifndef MAIN_H   #define MAIN_H      #include "callback.h"    - extern int d_flag, t_flag, a_flag, l_flag, c_flag, p_flag, debug_options; + extern int d_flag, t_flag, a_flag, l_flag, c_flag, p_flag; + extern int debug_options, runtime_options;   extern int default_t_flag;      #ifdef TRY_USE_MMX   extern int try_use_mmx;   #endif    -  + /* Debug options */   #define DEBUG_SIGNALS 1   #define NO_TAILRECURSION 2 - #define DEBUG_TYPES 4 +     -  + /* Runtime options */ + #define RUNTIME_CHECK_TYPES 1 + #define RUNTIME_STRICT_TYPES 2 +    /* Prototypes begin here */   struct callback *add_post_master_callback(callback_func call,    void *arg,