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

fix(parse): Allow optional 'then' in 'if' statements #99

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

sjbarag
Copy link
Owner

@sjbarag sjbarag commented Dec 3, 2018

RBI allows 'then' to be dropped and the 'if' statement works the same way. We should do the same.

fixes #98

RBI allows 'then' to be dropped and the 'if' statement works the same
way.  We should do the same.

fixes #98
@sjbarag sjbarag added bug Any difference between this BrightScript implementation and RBI, or otherwise unexpected behavior parser Affects this project's token parser labels Dec 3, 2018
@sjbarag sjbarag merged commit fb38709 into master Dec 3, 2018
@sjbarag sjbarag deleted the allow-optional-then branch December 3, 2018 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Any difference between this BrightScript implementation and RBI, or otherwise unexpected behavior parser Affects this project's token parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

then should not be required after if or else if
1 participant