Documentation update and commenting
This commit is contained in:
@@ -44,6 +44,11 @@ std::vector<Instruction> parse(std::string program) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Ignore commented lines
|
||||
if (line[0] == '#') {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (line.rfind("if", 0) == 0) {
|
||||
Instruction if_inst;
|
||||
if_inst.instruction = InstructionType::If;
|
||||
|
||||
Reference in New Issue
Block a user