mirror of
https://github.com/nineties/planckforth
synced 2025-01-13 08:01:10 +01:00
remove unused error messages
This commit is contained in:
parent
4302b074c9
commit
b70bb4befc
2 changed files with 0 additions and 8 deletions
|
@ -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();
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue