diff --git a/others/planck.c b/others/planck.c index 107309b..8b56f7a 100644 --- a/others/planck.c +++ b/others/planck.c @@ -175,8 +175,6 @@ defbinary(")", shr, >>, uintptr_t) defbinary("%", sar, >>, intptr_t) /* File IO */ -#define SUCCESS 0 -#define ALLOCATE_ERROR -59 defcode("(open)", openfile) { int flags = pop(); char *name = (char*) pop(); diff --git a/others/planck.py b/others/planck.py index d3e9000..cb00cc0 100644 --- a/others/planck.py +++ b/others/planck.py @@ -249,12 +249,6 @@ def argv(): add_simple_operator('v', argv) add_simple_operator('V', lambda: push(VERSION_ADDR)) -SUCCESS = 0 -ALLOCATE_ERROR = -59 -CLOSE_FILE_ERROR = -62 -OPEN_FILE_ERROR = -69 -READ_FILE_ERROR = -70 -WRITE_FILE_ERROR = -75 def openfile(): flag = pop() name = read_string(pop())