Work on dynamic variable
This commit is contained in:
+1
-3
@@ -142,9 +142,7 @@ static ALWAYS_INLINE void push_copy_lexenv(void) {
|
||||
|
||||
void set_lexical_variable(LispVal *name, LispVal *value);
|
||||
// Just add a new lexical variable without any checking
|
||||
static inline void new_lexical_variable(LispVal *name, LispVal *value) {
|
||||
Vlexical_environment = CONS(name, CONS(value, Vlexical_environment));
|
||||
}
|
||||
void new_lexical_variable(LispVal *name, LispVal *value);
|
||||
|
||||
void unwind_to(StackFrame *frame);
|
||||
static ALWAYS_INLINE LispVal *UNWIND_AND_RETURN(StackFrame *frame,
|
||||
|
||||
Reference in New Issue
Block a user