summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-26 11:30:23 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-26 11:30:23 +0000
commitfc0c4c0df7b583b55a08317cf1ef6a71d27c0440 (patch)
treec6b77ab2c50c00b856de8ca9223a54304d48c093 /command_line/CmdLine/Src
parent3d2f1da7c8062a4932ea29a0d37a769991764cc5 (diff)
downloadMWCC-fc0c4c0df7b583b55a08317cf1ef6a71d27c0440.tar.gz
MWCC-fc0c4c0df7b583b55a08317cf1ef6a71d27c0440.zip
rename IncludeSearch enum names to match what they actually do
Diffstat (limited to 'command_line/CmdLine/Src')
-rw-r--r--command_line/CmdLine/Src/CLDependencies.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/command_line/CmdLine/Src/CLDependencies.c b/command_line/CmdLine/Src/CLDependencies.c
index 2292dfb..d242c85 100644
--- a/command_line/CmdLine/Src/CLDependencies.c
+++ b/command_line/CmdLine/Src/CLDependencies.c
@@ -239,19 +239,19 @@ int Deps_ChangeSpecialAccessPath(OSSpec *srcfss, Boolean initialize) {
currentsrcfss = srcfss;
switch (optsCompiler.includeSearch) {
- case IncludeSearch_Type2:
+ case IncludeSearch_Explicit:
specialAccessPath = NULL;
return 1;
- case IncludeSearch_Type0:
+ case IncludeSearch_Proj:
if (!initialize)
return 1;
OS_GetCWD(&pathspec);
pathspecptr = &pathspec;
break;
- case IncludeSearch_Type1:
+ case IncludeSearch_Source:
if (!initialize)
return 1;
- case IncludeSearch_Type3:
+ case IncludeSearch_Include:
if (srcfss) {
pathspecptr = &srcfss->path;
} else if (currentsrcfss) {
@@ -282,7 +282,7 @@ static void SetSpecialAccessPathFromIncludeStackTOS(void) {
char *fnameptr;
VFile *vf;
- if (optsCompiler.includeSearch == IncludeSearch_Type3 && CLT_filesp && CLT_filestack) {
+ if (optsCompiler.includeSearch == IncludeSearch_Include && CLT_filesp && CLT_filestack) {
if (*CLT_filesp >= 0) {
index = *CLT_filesp;
while (index) {