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

Refactor variable and enum declarations to be statements #36

Closed
jserv opened this issue Aug 30, 2018 · 0 comments
Closed

Refactor variable and enum declarations to be statements #36

jserv opened this issue Aug 30, 2018 · 0 comments
Assignees

Comments

@jserv
Copy link
Owner

jserv commented Aug 30, 2018

Branch decl-refactor introduced excellent work, allowing now variables declared within functions anywhere, not just at the beginning, and enums can go into functions too, that means we can initialize local variables as int i = [expr].

Commits:

splasky added a commit to splasky/amacc that referenced this issue Apr 25, 2019
This commit let the expression `int i = [expr]` to be legal.

close jserv#36
@jserv jserv closed this as completed in 59417e1 Apr 25, 2019
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

No branches or pull requests

2 participants