Skip to content

Conversation

@mirror-shades
Copy link
Contributor

Bug fix tokenizing literals

This is a re-submission of a previous pull request on a clean branch.

Bug fix for issue raised in #87 regarding strings terminating early due to internal quotation marks. this change passes all tests including the test included in the issue. I have not included the additional test in this PR.

The small fix involves removing some terminator characters that should only be relevant before the literal begins, not during. String handling is dealt with elsewhere and should not be relevant once we are dealing with a literal.

current behavior

test: I'm great

this is currently parsed as

test: I

new behavior

test: I'm great

this is now parsed as

test: I'm great

Copy link
Owner

@kubkon kubkon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a matching test(s) please?

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

Successfully merging this pull request may close these issues.

2 participants