mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
e8680d792e
Scheme program errors without making Rua abort now, although there are a few things that still need to actually report errors instead of failing in weird ways.
21 lines
358 B
Objective-C
21 lines
358 B
Objective-C
#ifndef __state_h
|
|
#define __state_h
|
|
|
|
#include "Instruction.h"
|
|
#include "Frame.h"
|
|
#include "CompiledCode.h"
|
|
|
|
@class Continuation;
|
|
|
|
struct state_s = {
|
|
instruction_t [] program;
|
|
lineinfo_t [] lineinfo;
|
|
integer pc;
|
|
Frame literals, env;
|
|
SchemeObject stack;
|
|
Continuation cont;
|
|
Procedure proc;
|
|
};
|
|
|
|
typedef struct state_s state_t;
|
|
#endif
|