remove unused error messages

This commit is contained in:
Koichi Nakamura 2021-01-15 12:25:25 +09:00
parent 4302b074c9
commit b70bb4befc
2 changed files with 0 additions and 8 deletions

View file

@ -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();

View file

@ -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())