Explorar o código

Allow skipping lines without error on memory tool (#621)

Leonardo %!s(int64=2) %!d(string=hai) anos
pai
achega
5845e8773d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      other/memory/Memory.hx

+ 2 - 0
other/memory/Memory.hx

@@ -892,6 +892,8 @@ class Memory {
 				if( v != null )
 					m.maxLines = Std.parseInt(v);
 				Sys.println(m.maxLines == 0 ? "Lines limit disabled" : m.maxLines + " maximum lines displayed");
+			case null:
+				Sys.println("");
 			default:
 				Sys.println("Unknown command " + cmd);
 			}