summaryrefslogtreecommitdiffstats
path: root/poxml/antlr/src/CharScanner.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-31 12:43:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-31 23:45:36 +0900
commit4bc96324c1520dc5c6b068e84581382e2175d248 (patch)
tree3496cbab4bf4a5536e898e79f9f11c90139de881 /poxml/antlr/src/CharScanner.cpp
parent1577c48e1003eb15d95e6e983e978fa2824ead4e (diff)
downloadtdesdk-4bc96324.tar.gz
tdesdk-4bc96324.zip
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d565c3570e67f6269fa1c96a084e5bd30fb054ad)
Diffstat (limited to 'poxml/antlr/src/CharScanner.cpp')
-rw-r--r--poxml/antlr/src/CharScanner.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/poxml/antlr/src/CharScanner.cpp b/poxml/antlr/src/CharScanner.cpp
index 8374651e..bcfb1682 100644
--- a/poxml/antlr/src/CharScanner.cpp
+++ b/poxml/antlr/src/CharScanner.cpp
@@ -51,30 +51,6 @@
#include <stdlib.h>
ANTLR_BEGIN_NAMESPACE(antlr)
-ANTLR_C_USING(exit)
-ANTLR_C_USING(tolower)
-
-#ifdef ANTLR_REALLY_NO_STRCASECMP
-// Apparently, neither strcasecmp nor stricmp is standard, and Codewarrior
-// on the mac has neither...
-inline int strcasecmp(const char *s1, const char *s2)
-{
- while (true)
- {
- char c1 = tolower(*s1++),
- c2 = tolower(*s2++);
- if (c1 < c2) return -1;
- if (c1 > c2) return 1;
- if (c1 == 0) return 0;
- }
-}
-#else
-#ifdef NO_STRCASECMP
-ANTLR_C_USING(stricmp)
-#else
-ANTLR_C_USING(strcasecmp)
-#endif
-#endif
CharScannerLiteralsLess::CharScannerLiteralsLess(const CharScanner* theScanner)
: scanner(theScanner)