Commit 0ef0a232 authored by Ondrasek Timotej's avatar Ondrasek Timotej
Browse files

removed commented out code

parent 31dc3255
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -803,18 +803,6 @@ void Interpreter::execute_GET_ITEM(FunctionCall& call, Bytecode::Instruction con
        result_item->value = com::Folder::root()->locate({a_path->value.begin() + 1, a_path->value.end()});
    else
        result_item->value = call.script()->folder()->locate(a_path->value);
    
    /*if (result_item->value == nullptr)
    {
        msgstream stream{};
        stream << "Couldn't find item at path: ";
        for (const std::string& str : a_path->value)
            stream << str << '/';
        std::string msg = stream.get();
        msg.pop_back();
        msg.push_back('.');
        throw NullError(msg);
    }*/
}

void Interpreter::execute_GET_ELEMENT_BYTES(FunctionCall& call, Bytecode::Instruction const& I)