Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 0535ea9

Browse files
committed
fixup! add missing floating point literals
1 parent 052fcbe commit 0535ea9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MacroTranslator.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ fn parseCNumLit(mt: *MacroTranslator) ParseError!ZigNode {
350350
if (is_float) {
351351
const type_node = try ZigTag.type.create(arena, switch (suffix) {
352352
.F16 => "f16",
353-
.F => "f32",
353+
.F, .F32 => "f32",
354354
.None, .F32x, .F64 => "f64",
355355
.L => "c_longdouble",
356356
.W, .F64x => "f80",

0 commit comments

Comments
 (0)