summaryrefslogtreecommitdiffstats
path: root/src/tqmoc/tqmoc.l
diff options
context:
space:
mode:
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"