From 854b2a652ff473c9d2eaa3222008d4baed36ae63 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 17 Jul 2018 17:53:07 -0700 Subject: Fixed a bug in text escapes in nomsu codegen. --- nomsu_compiler.moon | 1 + 1 file changed, 1 insertion(+) (limited to 'nomsu_compiler.moon') diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon index e89dffa..1c69707 100644 --- a/nomsu_compiler.moon +++ b/nomsu_compiler.moon @@ -634,6 +634,7 @@ with NomsuCompiler bit_lines = files.get_lines(bit) for j, line in ipairs bit_lines if j > 1 then nomsu\append "\n" + line = gsub(line, "\\", "\\\\") if #line > 1.25*MAX_LINE remainder = line while #remainder > 0 -- cgit v1.2.3