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

semantic: wrong escape sequence in string literals #58

Open
bzz opened this issue Apr 14, 2019 · 0 comments
Open

semantic: wrong escape sequence in string literals #58

bzz opened this issue Apr 14, 2019 · 0 comments
Labels

Comments

@bzz
Copy link
Contributor

bzz commented Apr 14, 2019

As discovered in bblfsh/javascript-driver#81 (comment) and noted at bblfsh/javascript-driver#81 (comment) - bash driver does not handle string literals in semantic mode the same way as other drivers do.

On

bc = "b\nc"

//uast:String Path query results in

"@type":"uast:String","Format":"","Value":"b\\nc"

where the expected result for semantic mode would be b\ncq.

@bzz bzz added the bug label Apr 14, 2019
@bzz bzz self-assigned this Apr 17, 2019
@bzz bzz removed their assignment Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant