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

Added else-if block support #235

Merged
merged 1 commit into from Jul 9, 2015
Merged

Conversation

thec0keman
Copy link
Collaborator

This adds basic else if support.

I had to extract the logic for mustache attrs from mustache-parser.pegjs so that the else blocks could reuse it. I'm not as happy with how that ended up since some rules had to be duplicated across the 3 mustache- pegjs files.

This also required some changes to the api for invertible nodes so that they could be nested.

machty added a commit that referenced this pull request Jul 9, 2015
@machty machty merged commit 4b04238 into machty:master Jul 9, 2015
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

2 participants