]> git.mdlowis.com Git - proto/sclpl.git/commitdiff
Switch flags field to be a union
authorMichael D. Lowis <mike@mdlowis.com>
Tue, 29 Apr 2014 23:21:44 +0000 (19:21 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Tue, 29 Apr 2014 23:21:44 +0000 (19:21 -0400)
source/slvm/slvm.h

index 33fdeaabbc80140a288c60b7ca52275d23d56993..a9300cf19ddc51b7da4ef184e718fc6859a24977 100644 (file)
@@ -63,12 +63,6 @@ typedef struct word_t {
     /** Pointer to the next most recently defined word in the dictionary. */
     struct word_t const* link;
     /** A collection of flags describing attributes of the word. */
-    //struct {
-    //    val_t f_hidden : 1;  /*< Flag if this word should be hidden from the interpreter */
-    //    val_t f_immed  : 1;  /*< flag if this word should be executed at compile time */
-    //    val_t padding  : 6;  /*< Pads the flags to 8-bits */
-    //    val_t codesize : CODE_SZ_BITS; /*< The length of the bytecode section of the word */
-    //} flags;
     flags_t flags;
     /** Pointer to the null terminated string that holds the name of the word. */
     char const* name;