Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numeric escapes in strings get double backslashes #112

Open
Zash opened this issue Feb 5, 2017 · 1 comment
Open

Numeric escapes in strings get double backslashes #112

Zash opened this issue Feb 5, 2017 · 1 comment

Comments

@Zash
Copy link

Zash commented Feb 5, 2017

A string like

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

turns into

local x = "hello\\0\\1\\2world\n\\10"
@Zash
Copy link
Author

Zash commented Feb 12, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant