From 309b0cfbc3541b5188513f33d804b62c221f998d Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Mon, 15 Jul 2024 01:41:34 -0700 Subject: [PATCH] Fix comment placement --- src/literals.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/literals.zig b/src/literals.zig index dcbd61d..de431bd 100644 --- a/src/literals.zig +++ b/src/literals.zig @@ -258,8 +258,9 @@ pub const IterativeStringParser = struct { switch (c) { 'a', 'A' => { self.index += codepoint.byte_len; + // might be a bug in RC, but matches its behavior return .{ .codepoint = '\x08' }; - }, // might be a bug in RC, but matches its behavior + }, 'n' => { self.index += codepoint.byte_len; return .{ .codepoint = '\n' };