Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
augustin64 2024-01-03 14:53:58 +01:00
commit 8401d3d8b6
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ using namespace std;
#include "include/execute.h" #include "include/execute.h"
EvalResult execute(vector<string> input, Memory memory, int initial_line, ExecArgs args) { EvalResult execute(vector<string> input, Memory& memory, int initial_line, ExecArgs args) {
try { try {
vector<Token> tokens = tokenize(input, initial_line); vector<Token> tokens = tokenize(input, initial_line);

View File

@ -16,6 +16,6 @@ typedef struct ExecArgs {
bool dump_mem=false; bool dump_mem=false;
} ExecArgs; } ExecArgs;
EvalResult execute(vector<string> input, Memory memory, int initial_line=0, ExecArgs args={}); EvalResult execute(vector<string> input, Memory& memory, int initial_line=0, ExecArgs args={});
#endif #endif