Skip to content

Conversation

@rhendric
Copy link
Collaborator

This issue involved a lexer flag that was set in a for comprehension and
never cleared when the comprehension closed. The fix consists of
clearing all lexer flags at the current delimiter depth every time a
close delimiter is encountered. (It may be that this makes some
occurrences of @fset _ false elsewhere in the lexer redundant; to be
safe, I didn't attempt to remove any of them in this commit.)

This issue involved a lexer flag that was set in a for comprehension and
never cleared when the comprehension closed. The fix consists of
clearing all lexer flags at the current delimiter depth every time a
close delimiter is encountered. (It may be that this makes some
occurrences of `@fset _ false` elsewhere in the lexer redundant; to be
safe, I didn't attempt to remove any of them in this commit.)
@rhendric rhendric changed the title Fix for gkz/LiveScript#923 Fix for #923 Sep 24, 2016
@gkz gkz merged commit 05a6441 into gkz:master Sep 27, 2016
@gkz
Copy link
Owner

gkz commented Sep 27, 2016

Thanks!

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.

2 participants