summaryrefslogtreecommitdiffstats
path: root/src/moc/moc_lex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/moc/moc_lex.cpp')
-rw-r--r--src/moc/moc_lex.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/moc/moc_lex.cpp b/src/moc/moc_lex.cpp
index c5f29d5fc..b54536548 100644
--- a/src/moc/moc_lex.cpp
+++ b/src/moc/moc_lex.cpp
@@ -986,33 +986,8 @@ char *yytext;
#line 42 "moc.l"
#ifdef MOC_YACC_CODE
-#ifdef MOC_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 "ntqstring.h"
-
#define input yyinput // yyinput in C++
#define X if(lexDebug){fprintf(stderr,"LEX (%i) : %s\n",lineNo,yytext);};