Fix pointer typo
This commit is contained in:
parent
ca02c78673
commit
9b9558ce9f
@ -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