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

Replace manual path mucking with std::filesystem. #910

Merged
merged 1 commit into from
Oct 8, 2023
Merged

Conversation

dvander
Copy link
Member

@dvander dvander commented Oct 8, 2023

This gets rid of DIRSEP_CHAR and a lot of manual string code.

It also fixes how file defines were created, which was mostly broken and working by accident.

Finally, it fixes a crash on the command-line if the input file was not found.

@dvander dvander force-pushed the builtins branch 3 times, most recently from fb0c1a0 to e547b29 Compare October 8, 2023 00:59
This has a few side effects:
 - DIRSEP_CHAR and a lot of manual string code are gone.
 - This fixes how file defines were created, which was mostly broken and
   working by accident.
 - A weird feature where non-".sp" extensions were rewritten on the
   command-line has been removed.
 - This fixes an unrelated crash on the command-line if the input file
   was not found.
@dvander dvander merged commit c51d79a into master Oct 8, 2023
19 checks passed
@dvander dvander deleted the builtins branch October 8, 2023 01:14
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