Skip to content
Snippets Groups Projects

WIP: Master

Open Zhuolun Lang requested to merge zlang/SWEN90006-A1-2018:master into master
Files
2
@@ -106,7 +106,7 @@ public class Machine
private int parseReg(String s) throws InvalidInstructionException
{
if (s.length() < 2){
if (s.length() < 3){
throw new InvalidInstructionException();
}
if (s.charAt(0) != 'r'){
Loading