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

Return position/range and error of invalid escape sequence #3

Open
seanyoung opened this issue Apr 22, 2019 · 0 comments
Open

Return position/range and error of invalid escape sequence #3

seanyoung opened this issue Apr 22, 2019 · 0 comments

Comments

@seanyoung
Copy link

unescape(r#"\r\y\n"#) returns None but does not tell us where the problem is (either position or range).

This could be used in the solang compiler so that it can return the exact position for an error.

https://github.com/hyperledger-labs/solang/blob/master/src/cfg.rs#L771

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