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

More 516 prep (rename caller vars) #3370

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

Absolucy
Copy link
Member

@Absolucy Absolucy commented Sep 12, 2024

About The Pull Request

Caller is a protected/reserved var in 516, and it's used in various places, so let's... fix that:

- caller and callee vars

	- The current proc has caller and callee vars that return a reference to
	  the running caller and to the running proc itself, respectively. The
	  returned var is of internal type /callee.

	- /callee has vars src, usr, args, file, line, caller, and all vars that
	  apply to proc prototypes (name, type, desc, category, invisibility).	 

yes I did just a find & replace

no I'm not adding // monkestation edit next to these edits, /tg/ will end up doing the same thing anyways

Why It's Good For The Game

so 516 compiles lol

Changelog

No user-facing changes (only renames variables)

@Absolucy Absolucy merged commit b73b126 into Monkestation:master Sep 14, 2024
26 checks passed
@Absolucy Absolucy deleted the more-516-prep branch September 14, 2024 17:02
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.

1 participant