Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
8401d3d8b6
@ -4,7 +4,7 @@ using namespace std;
|
||||
#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 {
|
||||
vector<Token> tokens = tokenize(input, initial_line);
|
||||
|
||||
|
@ -16,6 +16,6 @@ typedef struct ExecArgs {
|
||||
bool dump_mem=false;
|
||||
} 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
|
Loading…
Reference in New Issue
Block a user