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(lex): Allow single-word #elseif and #endif #249

Merged
merged 1 commit into from
May 29, 2019
Merged

Conversation

sjbarag
Copy link
Owner

@sjbarag sjbarag commented May 29, 2019

The two-word variants #else if and #end if were already supported, but I didn't realize the single-word versions were valid in RBI! Now they're valid here too.

The two-word variants `#else if` and `#end if` were already supported,
but I didn't realize the single-word versions were valid in RBI!  Now
they're valid here too.
@sjbarag sjbarag added bug Any difference between this BrightScript implementation and RBI, or otherwise unexpected behavior lexer Affects this project's lexer (aka scanner) labels May 29, 2019
@sjbarag sjbarag merged commit 23a07b1 into master May 29, 2019
@sjbarag sjbarag deleted the one-word-hash-endif branch May 29, 2019 23:32
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 lexer Affects this project's lexer (aka scanner)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant