Implemented parsing of instructions

This commit is contained in:
Michael Jumper committed 2011-01-02 17:08:27 -08:00
1 parent 573f92af02
commit adb577ca8e
2 files changed
+85 -4

No files matched your search

@@ -48,7 +48,7 @@ public class GuacamoleInstruction {
}
public Operation fromOpcode(String opcode) {
public static Operation fromOpcode(String opcode) {
return opcodeToOperation.get(opcode);
}
@@ -75,7 +75,7 @@ public class GuacamoleInstruction {
StringBuilder buff = new StringBuilder();
buff.append(operation);
buff.append(operation.getOpcode());
if (args.length >= 1)
buff.append(':');