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

Fix a crash with invalid FILE_DIR defines #2197

Merged

Conversation

wixoaGit
Copy link
Member

@wixoaGit wixoaGit commented Feb 1, 2025

Doing #define FILE_DIR "nonexistent/folder/" would cause the compiler to crash when a resource tried to resolve its path. Now it is ignored and emits an InvalidFileDirDefine warning.

@boring-cyborg boring-cyborg bot added the Compiler Involves the OpenDream compiler label Feb 1, 2025
@github-actions github-actions bot added the size/S label Feb 1, 2025
@wixoaGit wixoaGit enabled auto-merge (squash) February 1, 2025 00:41
@wixoaGit wixoaGit merged commit 7dc9067 into OpenDreamProject:master Feb 1, 2025
7 checks passed
@wixoaGit wixoaGit deleted the fix_invalid_filedir_define branch February 1, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compiler Involves the OpenDream compiler size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant