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

Simplify handling of extra '}' #2491

Merged
merged 1 commit into from Oct 27, 2018
Merged

Simplify handling of extra '}' #2491

merged 1 commit into from Oct 27, 2018

Conversation

layus
Copy link
Member

@layus layus commented Oct 26, 2018

Add a marker state at the bottom of the state stack to detect when we
close too many antiquotations.
This way, the DEFAULT state can be used as the only state for nix
expressions.

@edolstra edolstra merged commit 6a5bf9b into NixOS:master Oct 27, 2018
@Mic92
Copy link
Member

Mic92 commented Oct 30, 2018

cool. this makes porting the grammar to other languages much easier.

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.

None yet

3 participants