version 1.30, 2001/03/28 16:18:51
|
version 1.33, 2001/12/09 19:12:46
|
Line 20
|
Line 20
|
*/ |
*/ |
|
|
#include "config.h" |
#include "config.h" |
|
#include "forth.h" |
#include <ctype.h> |
#include <ctype.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
Line 27
|
Line 28
|
#include <assert.h> |
#include <assert.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <errno.h> |
#include <errno.h> |
#include "forth.h" |
|
#include "io.h" |
#include "io.h" |
#include "threaded.h" |
#include "threaded.h" |
#ifndef STANDALONE |
#ifndef STANDALONE |
Line 196 DCell timeval2us(struct timeval *tvp)
|
Line 196 DCell timeval2us(struct timeval *tvp)
|
|
|
#ifdef HAS_FILE |
#ifdef HAS_FILE |
static char* fileattr[6]={"rb","rb","r+b","r+b","wb","wb"}; |
static char* fileattr[6]={"rb","rb","r+b","r+b","wb","wb"}; |
|
static char* pfileattr[6]={"r","r","r+","r+","w","w"}; |
|
|
#ifndef O_BINARY |
#ifndef O_BINARY |
#define O_BINARY 0 |
#define O_BINARY 0 |
Line 543 Label *engine(Xt *ip0, Cell *sp0, Cell *
|
Line 544 Label *engine(Xt *ip0, Cell *sp0, Cell *
|
} |
} |
NEXT; |
NEXT; |
|
|
|
#define LABEL(name) I_##name |
#include "prim.i" |
#include "prim.i" |
} |
} |