ref: merge stack and arg_stack into single stack
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
typedef enum
|
||||
{
|
||||
FZL_OPCODE_LOADCONST, // Load const into T (temp) reg
|
||||
FZL_OPCODE_PUSHARG, // Push argument from T into args stack
|
||||
FZL_OPCODE_CALL_BUILTIN, // Call builtin function
|
||||
FZL_OPCODE_PUSHNUM, // Push number into stack
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#ifndef FZL_TYPES_H
|
||||
#define FZL_TYPES_H
|
||||
|
||||
typedef enum
|
||||
{
|
||||
FZL_TYPE_STRING,
|
||||
FZL_TYPE_NUMBER
|
||||
} fzl_type_t;
|
||||
|
||||
#endif // FZL_TYPES_H
|
||||
Reference in New Issue
Block a user