Skip to content

Commit 55d2499

Browse files
committed
Build fix
1 parent 757f413 commit 55d2499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interpreter/CodeInterpreter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void CodeInterpreter::_bind_methods()
1111
ClassDB::bind_method(D_METHOD("getSequence"), &CodeInterpreter::getSequence);
1212
}
1313

14-
void CodeInterpreter::registerBuiltInMethod(const String& str);
14+
void CodeInterpreter::registerBuiltInMethod(const String& str)
1515
{
1616
const std::string text{str.utf8().get_data()};
1717

@@ -24,7 +24,7 @@ String CodeInterpreter::interpret(const String& str)
2424
const std::string text{str.utf8().get_data()};
2525

2626
interpreter.symbolTable().init();
27-
interpreter.initParser(input);
27+
interpreter.initParser(text);
2828

2929
interpreter.registerBuiltInMethod("moveNorth()");
3030
interpreter.registerBuiltInMethod("moveSouth()");

0 commit comments

Comments
 (0)