mirror of
https://git.wuffs.org/MWCC
synced 2025-12-18 09:25:28 +00:00
rename IncludeSearch enum names to match what they actually do
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user