This commit is contained in:
2025-10-02 12:51:15 +10:00
parent cd7f9a6a2a
commit d7123aff1e
5 changed files with 26 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ InstructionType strToInstructionType(std::string in) {
else if (in == "while") return InstructionType::While;
else if (in == "compare") return InstructionType::Compare;
else if (in == "input") return InstructionType::Input;
else if (in == "return") return InstructionType::Return;
else return InstructionType::Variable;
}