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

Allow to mix statements and declarations in a single line #15

Open
MartinNowak opened this issue Feb 17, 2014 · 1 comment
Open

Allow to mix statements and declarations in a single line #15

MartinNowak opened this issue Feb 17, 2014 · 1 comment

Comments

@MartinNowak
Copy link
Collaborator

Proposed by @callumenator, https://github.com/MartinNowak/drepl/pull/14#commitcomment-5392071.

@MartinNowak
Copy link
Collaborator Author

If the declarations were parsed as DeclarationStatement, this should already work, but it doesn't.
string foo(){ return "bar"; } writeln(foo());

@MartinNowak MartinNowak changed the title Allow to mix statments and declaration in a single line Allow to mix statements and declarations in a single line Jun 17, 2017
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

1 participant