typedlua icon indicating copy to clipboard operation
typedlua copied to clipboard

Numeric escapes in strings get double backslashes

Open Zash opened this issue 9 years ago • 1 comments

A string like

local x = "hello\0\1\2world\n\10"

turns into

local x = "hello\\0\\1\\2world\n\\10"

Zash avatar Feb 05 '17 10:02 Zash

The problem seems to be fix_str() in typedlua/tlcode.lua and/or typedlua/tllexer.lua.

Zash avatar Feb 12 '17 19:02 Zash