summaryrefslogtreecommitdiffstats
path: root/src/tqmoc/tqmoc_yacc.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-28 13:39:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-28 13:39:23 +0900
commit69e1261df646edf24612d7f953dac81182e7461b (patch)
tree5d9a9e9600f0592c3732fe7c9402134fd22d6651 /src/tqmoc/tqmoc_yacc.cpp
parentc9a75bccc60b6ac092f76a2624115fd8935f4888 (diff)
downloadtqt-69e1261d.tar.gz
tqt-69e1261d.zip
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tqmoc/tqmoc_yacc.cpp')
-rw-r--r--src/tqmoc/tqmoc_yacc.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tqmoc/tqmoc_yacc.cpp b/src/tqmoc/tqmoc_yacc.cpp
index 0422ee4cd..fdf898cd6 100644
--- a/src/tqmoc/tqmoc_yacc.cpp
+++ b/src/tqmoc/tqmoc_yacc.cpp
@@ -5015,16 +5015,7 @@ void registerClassInNamespace()
inline bool isSpace( char x )
{
-#if defined(Q_CC_BOR)
- /*
- Borland C++ 4.5 has a weird isspace() bug.
- isspace() usually works, but not here.
- This implementation is sufficient for our internal use: rmWS()
- */
- return (uchar) x <= 32;
-#else
return isspace( (uchar) x );
-#endif
}
static TQCString rmWS( const char *src )