Skip to content

(GH-66) undef is not treated as a special value #67

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

Merged
merged 2 commits into from
Jun 29, 2020

Conversation

glennsarti
Copy link
Contributor

Fixes #66

Previously undef was not treated as a special value or keyword, which confused
the tokeniser into thinking it was a resource definition. This commit adds a
keywords matcher to detect undef.


Reminder

  • Added Tests

  • Ran npm run convert and committed the changes too

Previously undef was not treated as a special value or keyword, which confused
the tokeniser into thinking it was a resource definition.  This commit adds a
keywords matcher to detect undef.
@glennsarti glennsarti added this to the 1.3.7 milestone Jun 27, 2020
@glennsarti glennsarti self-assigned this Jun 27, 2020
@glennsarti glennsarti requested a review from jpogran June 27, 2020 13:34
@glennsarti
Copy link
Contributor Author

Now tokenises correctly

image

@jpogran jpogran merged commit cf7d806 into puppetlabs:master Jun 29, 2020
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.

'undef' is not treated as a special value
2 participants