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

parser: require \n after parsing integer in kv #527

Merged
merged 1 commit into from
Apr 24, 2021
Merged

parser: require \n after parsing integer in kv #527

merged 1 commit into from
Apr 24, 2021

Conversation

pelletier
Copy link
Owner

Fixes #526

with the TOML document

a = 1z = 2

the error is now:

1| a = 1z = 2
 |      ~ expected newline but got U+007A 'z'

@pelletier pelletier linked an issue Apr 24, 2021 that may be closed by this pull request
@pelletier
Copy link
Owner Author

@moorereason does that error seem reasonable?

@moorereason
Copy link
Contributor

LGTM

@pelletier pelletier merged commit 1e80267 into v2 Apr 24, 2021
@pelletier pelletier deleted the fix-526 branch April 24, 2021 13:57
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.

v2 parser should require newlines between expressions
2 participants