diff options
Diffstat (limited to 'Build/source/texk/detex/detex-2.8/detex.l')
-rw-r--r-- | Build/source/texk/detex/detex-2.8/detex.l | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/detex/detex-2.8/detex.l b/Build/source/texk/detex/detex-2.8/detex.l index 7b4aaa1a1de..398dbfea632 100644 --- a/Build/source/texk/detex/detex-2.8/detex.l +++ b/Build/source/texk/detex/detex-2.8/detex.l @@ -580,7 +580,7 @@ SetEnvIgnore(const char *sbEnvList) sb = SafeMalloc(strlen(sbEnvList) + 1, "malloc for SetEnvIgnore failed"); (void) strcpy(sb, sbEnvList); csbEnvIgnore = SeparateList(sb, rgsbEnvIgnore, CHENVSEP, MAXENVS); - if (csbEnvIgnore == ERROR) + if (csbEnvIgnore == my_ERROR) ErrorExit("The environtment list contains too many environments"); } @@ -738,7 +738,7 @@ SetInputPaths(void) (void)strcat(sbPaths, DEFAULTINPUTS); csbInputPaths = SeparateList(sbPaths, rgsbInputPaths, CHPATHSEP, MAXINPUTPATHS); - if (csbInputPaths == ERROR) + if (csbInputPaths == my_ERROR) #ifdef OS2 ErrorExit("TEXINPUT(S) environment variable has too many paths"); #else @@ -751,7 +751,7 @@ SetInputPaths(void) ** SeparateList -- takes a chSep separated list sbList, replaces the ** chSep's with NULLs and sets rgsbList[i] to the beginning of ** the ith word in sbList. The number of words is returned. A -** ERROR is returned if there are more than csbMax words. +** my_ERROR is returned if there are more than csbMax words. ******/ int @@ -764,7 +764,7 @@ SeparateList(char *sbList, char *rgsbList[], char chSep, int csbMax) if ((sbList = index(sbList, chSep))) *sbList++ = '\0'; } - return(sbList && *sbList ? ERROR : csbList); + return(sbList && *sbList ? my_ERROR : csbList); } /****** |