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

Allows for interleaved case and rule definitions in the same macro. #428

Merged
merged 1 commit into from
Dec 9, 2014

Conversation

trxcllnt
Copy link
Contributor

@trxcllnt trxcllnt commented Dec 9, 2014

Allows for:

macro m {
    rule { $x } => { $x + 5 }
    case { _ } => { return #{ 10 } }
}

@disnet disnet merged commit f6a8282 into sweet-js:master Dec 9, 2014
@disnet
Copy link
Member

disnet commented Dec 9, 2014

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