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

Improve handling of unterminated double quoted strings #728

Merged
merged 2 commits into from
Aug 7, 2017
Merged

Conversation

rodjek
Copy link
Owner

@rodjek rodjek commented Aug 6, 2017

Catch unterminated double quoted strings and raise a LexerError (with a meaningful reason). Also, adjusted how the LexerErrors are displayed to accommodate these reasons when present by moving the "Try running puppet parser validate" message to STDERR

Fixes #727

@rodjek rodjek added this to the Next release (2.3.0 maybe?) milestone Aug 6, 2017
@rodjek rodjek merged commit 63c9514 into master Aug 7, 2017
@rodjek rodjek deleted the issue-727 branch August 7, 2017 00:56
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.

1 participant