Started defining macros.
h3rald h3rald@h3rald.com
Mon, 25 Nov 2024 08:00:47 +0000
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
hex.c
→
hex.c
@@ -17,6 +17,7 @@ #include <unistd.h>
#include <sys/wait.h> #endif +#define POP(x) HEX_StackElement x = hex_pop() #define HEX_VERSION "0.1.0" #define HEX_STDIN_BUFFER_SIZE 256 #define HEX_REGISTRY_SIZE 1024@@ -1066,7 +1067,8 @@ // Definition symbols
int hex_symbol_store() { - HEX_StackElement name = hex_pop(); + //HEX_StackElement name = hex_pop(); + POP(name); if (name.type == HEX_TYPE_INVALID) { hex_free_element(name);