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

代码格式化时字符串中有‘\’时仍然会有问题 #14

Closed
guoweidong1987 opened this issue Apr 10, 2017 · 3 comments
Closed

Comments

@guoweidong1987
Copy link

1:采用[[ string ]]定义字符串时,
2:‘“’。 和”‘“ 会有问题:
3:” \a \x \b“ 之类的一些字符
以上情况格式化时都会出现‘\’数量变化的情况,

在我4月9号提交的pull request中针对解决了上述问题

@k0204
Copy link
Owner

k0204 commented Apr 10, 2017

好的晚上回去看看!

@guoweidong1987
Copy link
Author

我不是去掉了转义符,而是在每个转义符那里又加了一个,这样字符串被js写入文件时正好和从lua中读到的原始字符串完全一致

@k0204
Copy link
Owner

k0204 commented Apr 13, 2017

已经用你提供的了下个版本更新上去

@k0204 k0204 closed this as completed Apr 17, 2017
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

2 participants