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

Require return statements for function bodies #17

Open
raustin9 opened this issue Aug 1, 2023 · 0 comments
Open

Require return statements for function bodies #17

raustin9 opened this issue Aug 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request recursive descent parser portains to the RDP

Comments

@raustin9
Copy link
Owner

raustin9 commented Aug 1, 2023

All functions are required to have a return type.
Even functions that you do not want to have one should still have one and return a value.

Ensure that a function returns an expression at the end of the function body. If there are things after the return, just eat the tokens until you read the '}' closing bracket.

@raustin9 raustin9 added the enhancement New feature or request label Aug 1, 2023
@raustin9 raustin9 self-assigned this Aug 21, 2023
@raustin9 raustin9 added the recursive descent parser portains to the RDP label Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request recursive descent parser portains to the RDP
Projects
None yet
Development

No branches or pull requests

1 participant