Skip to content

Commit

Permalink
Update to latest interface
Browse files Browse the repository at this point in the history
  • Loading branch information
vedderb committed Aug 28, 2023
1 parent 43bb5ea commit 306bdb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lispBM/lispif.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ void lispif_process_cmd(unsigned char *data, unsigned int len,

lbm_create_buffered_char_channel(&buffered_tok_state, &buffered_string_tok);

if (lbm_load_and_eval_program(&buffered_string_tok) <= 0) {
if (lbm_load_and_eval_program(&buffered_string_tok, "repl") <= 0) {
lispif_unlock_lbm();
result_last = -4;
offset_last = -1;
Expand Down Expand Up @@ -711,7 +711,7 @@ bool lispif_restart(bool print, bool load_code) {
}

lbm_create_string_char_channel(&string_tok_state, &string_tok, code_data);
lbm_load_and_eval_program_incremental(&string_tok);
lbm_load_and_eval_program_incremental(&string_tok, "main");
}

lbm_continue_eval();
Expand Down

0 comments on commit 306bdb3

Please sign in to comment.