summaryrefslogtreecommitdiffstats
path: root/src/tqmoc/tqmoc.l
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-01 13:14:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-01 13:14:26 +0900
commit37293565c31fa447fbf7cb0566be51d1204e8991 (patch)
tree0b62542b6be5ad60d1e6e02d68557554ebba6f3e /src/tqmoc/tqmoc.l
parent7eccd2d0161a0e17e0609b26a006df35dfd0f462 (diff)
downloadtqt3-37293565c31fa447fbf7cb0566be51d1204e8991.tar.gz
tqt3-37293565c31fa447fbf7cb0566be51d1204e8991.zip
Remove support for Metrowerks compiler
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tqmoc/tqmoc.l')
-rw-r--r--src/tqmoc/tqmoc.l24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/tqmoc/tqmoc.l b/src/tqmoc/tqmoc.l
index 373c6712c..8051e7310 100644
--- a/src/tqmoc/tqmoc.l
+++ b/src/tqmoc/tqmoc.l
@@ -41,30 +41,6 @@
%{
#ifdef TQMOC_YACC_CODE
-#ifdef TQMOC_MWERKS_PLUGIN
-#ifdef Q_OS_MAC9
-# define isascii(c) ((int)( (unsigned int) (c) <= (unsigned char)0x7F ))
-#endif
-const char *buf_buffer = NULL;
-long buf_size_total = 0, buf_index = 0;
-#define YY_INPUT(buf, result, max_size) \
- { \
- if(buf_index < buf_size_total ) { \
- while(!isascii(buf_buffer[buf_index])) buf_index++; \
- int ms = ((max_size < buf_size_total) ? max_size : buf_size_total); \
- for(result = 0; result < ms; result++) { \
- char c = buf_buffer[buf_index + result]; \
- if(!isascii(c)) { \
- buf_index++; \
- break; \
- } \
- buf[result] = c == '\r' ? '\n' : c; \
- } \
- buf_index += result; \
- } else result = YY_NULL; \
- }
-#endif
-
#include "tqstring.h"