mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Merge babb9a8b39 into d0ba6642b5
This commit is contained in:
commit
985e22edd2
1 changed files with 2 additions and 2 deletions
|
|
@ -754,12 +754,12 @@ fn parseContextDependentNumber(ass: *Assembler) !void {
|
|||
const id = entry.value_ptr.*;
|
||||
if (id != result_id) continue;
|
||||
const info = entry.key_ptr.*;
|
||||
switch (info.bits) {
|
||||
return switch (info.bits) {
|
||||
16 => try ass.parseContextDependentFloat(16),
|
||||
32 => try ass.parseContextDependentFloat(32),
|
||||
64 => try ass.parseContextDependentFloat(64),
|
||||
else => return ass.fail(tok.start, "cannot parse {}-bit info literal", .{info.bits}),
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue