10000 Support EFUN up-to 127 arguments by thefallentree · Pull Request #977 · fluffos/fluffos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support EFUN up-to 127 arguments #977

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

Merged
merged 2 commits into from
May 30, 2023
Merged

Support EFUN up-to 127 arguments #977

merged 2 commits into from
May 30, 2023

Conversation

thefallentree
Copy link
Member
@thefallentree thefallentree commented May 30, 2023

fix #960

8000
@@ -145,7 +145,7 @@ func: type ID optional_ID '(' arg_list optional_default ')' ';' {
char f_name[500];
int i, len;
if (min_arg == -1) min_arg = $5;
if (min_arg > 4) yyerror("min_arg > 4\n");
if (min_arg > 127) yyerror("min_arg > 127\n");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nicer if an english readable error were here too - such as:
"You are using more than 127 arguments in an efun error.".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

min_arg > 4 error on our new 5 argument efuns.
2 participants
0