Skip to content

Commit 2bf8e3f

Browse files
committed
Use named enum for readability
1 parent 5287735 commit 2bf8e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/binary/mod.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const(Instruction)[] decodeExpr(ref const(ubyte)[] input)
121121
typeof(return) insns = [];
122122
while (true)
123123
{
124-
if (0x0b == input.front)
124+
if (OpCode.End == input.front)
125125
{
126126
input.popFront();
127127
return insns;

0 commit comments

Comments
 (0)