From: Michael D. Lowis Date: Tue, 29 Apr 2014 23:21:44 +0000 (-0400) Subject: Switch flags field to be a union X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=d810dedd98a8305dd219edc782d9ff59c52c79ee;p=proto%2Fsclpl.git Switch flags field to be a union --- diff --git a/source/slvm/slvm.h b/source/slvm/slvm.h index 33fdeaa..a9300cf 100644 --- a/source/slvm/slvm.h +++ b/source/slvm/slvm.h @@ -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;