Skip to content

Conversation

isidentical
Copy link
Member

@isidentical isidentical commented Jul 17, 2021

_PyPegen_byte_offset_to_character_offset now returns -1 on error since we need to distinguish 0-width lines from errors. Also the error checks are added to the call sites.

https://bugs.python.org/issue43950

@isidentical
Copy link
Member Author

Thanks @pablogsal!

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

Successfully merging this pull request may close these issues.

4 participants