sym ops enum declared as numbers for compatibility with future sym tables
This commit is contained in:
parent
4b31e09cd7
commit
3fe5391401
@ -134,7 +134,7 @@ static word_body word_processed_body(word *w) {
|
|||||||
return *body;
|
return *body;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum SLC_SYM_OP { SLC_SYM_SET, SLC_SYM_GET, SLC_SYM_ERASE };
|
enum SLC_SYM_OP { SLC_SYM_SET = 0, SLC_SYM_GET = 1, SLC_SYM_ERASE = 2 };
|
||||||
typedef enum SLC_SYM_OP SLC_SYM_OP;
|
typedef enum SLC_SYM_OP SLC_SYM_OP;
|
||||||
enum SLC_STACK_OP { SLC_STACK_PUSH, SLC_STACK_POP, SLC_STACK_AT, SLC_STACK_COUNT, SLC_STACK_ERASE };
|
enum SLC_STACK_OP { SLC_STACK_PUSH, SLC_STACK_POP, SLC_STACK_AT, SLC_STACK_COUNT, SLC_STACK_ERASE };
|
||||||
typedef enum SLC_STACK_OP SLC_STACK_OP;
|
typedef enum SLC_STACK_OP SLC_STACK_OP;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user