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
1 changed files with 2 additions and 0 deletions

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 {