diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-17 17:53:07 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-17 17:53:17 -0700 |
| commit | 854b2a652ff473c9d2eaa3222008d4baed36ae63 (patch) | |
| tree | 82c14202cb84cbddfdca3f3812cee90ec0ba95f5 /nomsu_compiler.lua | |
| parent | 77a338c1673ae5815ea2124f709cc657da30e8c8 (diff) | |
Fixed a bug in text escapes in nomsu codegen.
Diffstat (limited to 'nomsu_compiler.lua')
| -rw-r--r-- | nomsu_compiler.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua index b096659..4f181f2 100644 --- a/nomsu_compiler.lua +++ b/nomsu_compiler.lua @@ -962,6 +962,7 @@ do if j > 1 then nomsu:append("\n") end + line = gsub(line, "\\", "\\\\") if #line > 1.25 * MAX_LINE then local remainder = line while #remainder > 0 do |
