1
0
mirror of https://github.com/pfusik/xasm.git synced 2024-06-01 16:41:37 +00:00

INS: optimize "opcode" if length not specified as one.

This commit is contained in:
Piotr Fusik 2014-04-04 20:26:33 +02:00
parent 3a845f9a4f
commit 167c441fed

2
xasm.d
View File

@ -2280,6 +2280,8 @@ void assemblyIns() {
} catch (Exception e) {
throw new AssemblyError("Error seeking file");
}
if (inOpcode)
length = 1;
while (length != 0) {
ubyte[1] buffer;
try {